1
0
Fork 0

dir alias for home

This commit is contained in:
Luca Bilke 2022-08-09 10:57:14 +02:00
parent d7e449e5ce
commit 876dcad206
4 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
map Ch cd "/home/luca"
map Cch cd "/home/luca/.cache"
map Ccf cd "/home/luca/.config"
map Cdt cd "/home/luca/.local/share"

View File

@ -1,4 +1,5 @@
# You can add comments to these files with #
h $HOME
ch ${XDG_CACHE_HOME:-$HOME/.cache}
cf ${XDG_CONFIG_HOME:-$HOME/.config}
dt ${XDG_DATA_HOME:-$HOME/.local/share}

View File

@ -1,5 +1,6 @@
# vim: filetype=sh
alias ch="cd /home/luca/.cache && tput cuu1;tput el" \
alias h="cd /home/luca && tput cuu1;tput el" \
ch="cd /home/luca/.cache && tput cuu1;tput el" \
cf="cd /home/luca/.config && tput cuu1;tput el" \
dt="cd /home/luca/.local/share && tput cuu1;tput el" \
rr="cd /home/luca/.local/src && tput cuu1;tput el" \

View File

@ -1,3 +1,4 @@
hash -d h=/home/luca
hash -d ch=/home/luca/.cache
hash -d cf=/home/luca/.config
hash -d dt=/home/luca/.local/share