update shortcuts
This commit is contained in:
parent
6f12e93999
commit
b1844fec72
|
@ -10,7 +10,7 @@ mn /mnt
|
|||
co $XDG_DOCUMENTS_DIR/code
|
||||
dl $XDG_DOWNLOAD_DIR
|
||||
dm $XDG_DOCUMENTS_DIR
|
||||
dk $XDG_DOCUMENTS_DIR
|
||||
dk $XDG_DESKTOP_DIR
|
||||
ms $XDG_MUSIC_DIR
|
||||
pc $XDG_PICTURES_DIR
|
||||
vd $XDG_VIDEOS_DIR
|
||||
|
|
|
@ -9,7 +9,7 @@ map gmn cd "/mnt"
|
|||
map gco cd "/home/luca/Documents/code"
|
||||
map gdl cd "/home/luca/Downloads"
|
||||
map gdm cd "/home/luca/Documents"
|
||||
map gdk cd "/home/luca/Documents"
|
||||
map gdk cd "/home/luca/Desktop"
|
||||
map gms cd "/home/luca/Music"
|
||||
map gpc cd "/home/luca/Pictures"
|
||||
map gvd cd "/home/luca/Videos"
|
||||
|
|
|
@ -9,7 +9,7 @@ hash -d mn=/mnt
|
|||
hash -d co=/home/luca/Documents/code
|
||||
hash -d dl=/home/luca/Downloads
|
||||
hash -d dm=/home/luca/Documents
|
||||
hash -d dk=/home/luca/Documents
|
||||
hash -d dk=/home/luca/Desktop
|
||||
hash -d ms=/home/luca/Music
|
||||
hash -d pc=/home/luca/Pictures
|
||||
hash -d vd=/home/luca/Videos
|
||||
|
|
|
@ -10,7 +10,7 @@ mn="cd /mnt" \
|
|||
co="cd /home/luca/Documents/code" \
|
||||
dl="cd /home/luca/Downloads" \
|
||||
dm="cd /home/luca/Documents" \
|
||||
dk="cd /home/luca/Documents" \
|
||||
dk="cd /home/luca/Desktop" \
|
||||
ms="cd /home/luca/Music" \
|
||||
pc="cd /home/luca/Pictures" \
|
||||
vd="cd /home/luca/Videos" \
|
||||
|
|
|
@ -23,4 +23,4 @@ eval "echo \"$(cat "$bmdirs")\"" | awk "!/^\s*#/ && !/^\s*\$/ {gsub(\"\\\s*#.*$\
|
|||
eval "echo \"$(cat "$bmfiles")\"" | awk "!/^\s*#/ && !/^\s*\$/ {gsub(\"\\\s*#.*$\",\"\");
|
||||
printf(\"%s=\42\$EDITOR %s\42 \\\\\n\",\$1,\$2) >> \"$shell_shortcuts\" ;
|
||||
printf(\"hash -d %s=%s \n\",\$1,\$2) >> \"$zsh_named_dirs\" ;
|
||||
printf(\"%s\n\",\$2) >> \"$lf_files\" ;
|
||||
printf(\"%s\n\",\$2) >> \"$lf_files\" }"
|
||||
|
|
Loading…
Reference in New Issue