new shortcuts
This commit is contained in:
parent
10d585e707
commit
945f3d118f
|
@ -4,8 +4,8 @@ ch $XDG_CACHE_HOME
|
|||
cf $XDG_CONFIG_HOME
|
||||
dt $XDG_DATA_HOME
|
||||
st $XDG_STATE_HOME
|
||||
sc $HOME/.local/bin
|
||||
se $HOME/.local/libexec
|
||||
bn $HOME/.local/bin
|
||||
le $HOME/.local/libexec
|
||||
mn /mnt
|
||||
co $XDG_DOCUMENTS_DIR/dev
|
||||
dl $XDG_DOWNLOAD_DIR
|
||||
|
@ -14,6 +14,6 @@ dk $XDG_DESKTOP_DIR
|
|||
ms $XDG_MUSIC_DIR
|
||||
pc $XDG_PICTURES_DIR
|
||||
vd $XDG_VIDEOS_DIR
|
||||
dot $STOW_DIR/dots
|
||||
ds $STOW_DIR/dots
|
||||
lg $HOME/.local/log
|
||||
sv $HOME/.local/sv
|
||||
|
|
|
@ -34,7 +34,7 @@ alias \
|
|||
# Shortening
|
||||
alias \
|
||||
ka="killall" \
|
||||
ll="ls -lhpAN --color=auto --group-directories-first" \
|
||||
ll="ls -lhpANX --color=auto --group-directories-first" \
|
||||
subup="git submodule update --remote --recursive --merge"
|
||||
|
||||
# Quasi functions
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
hash -d h=/home/luca
|
||||
hash -d ch=/home/luca/.cache
|
||||
hash -d cf=/home/luca/.config
|
||||
hash -d dt=/home/luca/.local/share
|
||||
hash -d st=/home/luca/.local/state
|
||||
hash -d bn=/home/luca/.local/bin
|
||||
hash -d le=/home/luca/.local/libexec
|
||||
hash -d mn=/mnt
|
||||
hash -d co=/home/luca/Documents/dev
|
||||
hash -d dl=/home/luca/Downloads
|
||||
hash -d dm=/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
|
||||
hash -d ds=/home/luca/.local/share/stow/dots
|
||||
hash -d lg=/home/luca/.local/log
|
||||
hash -d sv=/home/luca/.local/sv
|
|
@ -39,7 +39,7 @@ write_dirs_tmp() {
|
|||
path=$(eval "echo $path")
|
||||
|
||||
printf "hash -d %s=%s\n" "$shortcut" "$path" >>"/tmp/shortcuts/zsh_named_dirs"
|
||||
printf "%\t%s\n" "$shortcut" "$path" >>"/tmp/shortcuts/lf_dirs"
|
||||
printf "%s\t%s\n" "$shortcut" "$path" >>"/tmp/shortcuts/lf_dirs"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue