From af3d3a64809b04a6ea0043617f9b02a3daeedc39 Mon Sep 17 00:00:00 2001 From: Luca Bilke <bilke@tralios.de> Date: Tue, 23 Aug 2022 15:17:06 +0200 Subject: [PATCH] add code folder shortcut --- .config/shell/bm-dirs | 1 + .config/shell/shortcutrc | 1 + .config/shell/zshnameddirrc | 1 + 3 files changed, 3 insertions(+) diff --git a/.config/shell/bm-dirs b/.config/shell/bm-dirs index 09775f33..4af5f1d5 100644 --- a/.config/shell/bm-dirs +++ b/.config/shell/bm-dirs @@ -8,6 +8,7 @@ sc $HOME/.local/bin mn /mnt dl ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} dm ${XDG_DOCUMENTS_DIR:-$HOME/Documents} +co ${XDG_DOCUMENTS_DIR:-$HOME/Documents}/Code ms ${XDG_MUSIC_DIR:-$HOME/Music} pc ${XDG_PICTURES_DIR:-$HOME/Pictures} vd ${XDG_VIDEOS_DIR:-$HOME/Videos} diff --git a/.config/shell/shortcutrc b/.config/shell/shortcutrc index 30d10e83..12b96884 100644 --- a/.config/shell/shortcutrc +++ b/.config/shell/shortcutrc @@ -8,6 +8,7 @@ sc="cd /home/luca/.local/bin && tput cuu1;tput el" \ mn="cd /mnt && tput cuu1;tput el" \ dl="cd /home/luca/Downloads && tput cuu1;tput el" \ dm="cd /home/luca/Documents && tput cuu1;tput el" \ +co="cd /home/luca/Documents/Code && tput cuu1;tput el" \ ms="cd /home/luca/Music && tput cuu1;tput el" \ pc="cd /home/luca/Pictures && tput cuu1;tput el" \ vd="cd /home/luca/Videos && tput cuu1;tput el" \ diff --git a/.config/shell/zshnameddirrc b/.config/shell/zshnameddirrc index a1ec55e5..188ffbbe 100644 --- a/.config/shell/zshnameddirrc +++ b/.config/shell/zshnameddirrc @@ -7,6 +7,7 @@ hash -d sc=/home/luca/.local/bin hash -d mn=/mnt hash -d dl=/home/luca/Downloads hash -d dm=/home/luca/Documents +hash -d co=/home/luca/Documents/Code hash -d ms=/home/luca/Music hash -d pc=/home/luca/Pictures hash -d vd=/home/luca/Videos