From b1844fec721d253c3d4ef35caa813bc58208af3a Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 14 Dec 2023 13:36:26 +0100 Subject: [PATCH] update shortcuts --- .config/bookmarks/directories | 2 +- .config/lf/shortcutrc | 2 +- .config/zsh/configs/autogenerated/hashes | 2 +- .config/zsh/configs/autogenerated/shortcuts | 2 +- .local/bin/shortcuts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/bookmarks/directories b/.config/bookmarks/directories index ccc93c78f..2b913c2f8 100644 --- a/.config/bookmarks/directories +++ b/.config/bookmarks/directories @@ -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 diff --git a/.config/lf/shortcutrc b/.config/lf/shortcutrc index ebb5879dd..785d2ddb3 100644 --- a/.config/lf/shortcutrc +++ b/.config/lf/shortcutrc @@ -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" diff --git a/.config/zsh/configs/autogenerated/hashes b/.config/zsh/configs/autogenerated/hashes index 351b922ed..daae2ce63 100644 --- a/.config/zsh/configs/autogenerated/hashes +++ b/.config/zsh/configs/autogenerated/hashes @@ -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 diff --git a/.config/zsh/configs/autogenerated/shortcuts b/.config/zsh/configs/autogenerated/shortcuts index 7bce9bfd1..6b39ff2f0 100644 --- a/.config/zsh/configs/autogenerated/shortcuts +++ b/.config/zsh/configs/autogenerated/shortcuts @@ -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" \ diff --git a/.local/bin/shortcuts b/.local/bin/shortcuts index 5b9a5242c..d05cc1d52 100755 --- a/.local/bin/shortcuts +++ b/.local/bin/shortcuts @@ -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\" }"