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