15 # leave some space at the top and the bottom of the screen
18 # use enter for shell commands
23 # =-=-=-=-= custom 'go to' commands
29 map gsc cd ~/School/cs145
30 map gsm5 cd ~/School/math135
31 map gsm7 cd ~/School/math137
32 map gsp cd ~/School/phys121
33 map gss cd ~/School/spcom223
40 map gd. cd ~/Downloads
48 # define a custom 'open' command
49 # This command is called when current file is not a directory. You may want to
50 # use either file extensions and/or mime types here. Below uses an editor for
51 # text files and a file opener for the rest.
53 case $(file --mime-type $f -b) in
55 *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
59 cmd mkdir % echo "New directory name:"; read dirname; mkdir $dirname
61 cmd touch %echo "New file name:"; read filename; touch $filename