diff --git a/.config/directories b/.config/directories index 1ff28f57b..0a20e2050 100644 --- a/.config/directories +++ b/.config/directories @@ -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 diff --git a/.config/zsh/configs/aliases b/.config/zsh/configs/aliases index 3c8c486e8..2d24aedfb 100644 --- a/.config/zsh/configs/aliases +++ b/.config/zsh/configs/aliases @@ -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 diff --git a/.config/zsh/configs/hashes b/.config/zsh/configs/hashes index e69de29bb..2a2b4da65 100644 --- a/.config/zsh/configs/hashes +++ b/.config/zsh/configs/hashes @@ -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 diff --git a/.local/bin/shortcuts b/.local/bin/shortcuts index 8983f9e17..fbe98dd57 100755 --- a/.local/bin/shortcuts +++ b/.local/bin/shortcuts @@ -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 }