diff --git a/zsh-linux/.config/zsh-linux/00-aliases.zsh b/zsh-linux/.config/zsh-linux/00-aliases.zsh index 78253f7..358b245 100644 --- a/zsh-linux/.config/zsh-linux/00-aliases.zsh +++ b/zsh-linux/.config/zsh-linux/00-aliases.zsh @@ -53,6 +53,11 @@ alias pr='makepkg --force --clean --cleanbuild --syncdeps --rmdeps && addpkg rpm #alias pytest='pytest --numprocesses=$(nproc)' alias pyarchive='git archive -o rbackup-"$(python setup.py --version)".tar.gz --prefix=rbackup-"$(python setup.py --version)"/' +# Personal +alias la='ls --almost-all --color --group-directories-first --human-readable -l' +alias ls='ls --color --group-directories-first' +alias ll='ls --classify --color --group-directories-first --human-readable -l' + # system alias bootloader='cd /boot/loader/entries' alias restartfans='sudo systemctl restart fancontrol.service' diff --git a/zsh-macos/.config/zsh-macos/00-aliases.zsh b/zsh-macos/.config/zsh-macos/00-aliases.zsh index 2453735..39bd109 100644 --- a/zsh-macos/.config/zsh-macos/00-aliases.zsh +++ b/zsh-macos/.config/zsh-macos/00-aliases.zsh @@ -23,18 +23,10 @@ alias gtv='printf "%s" "$(git describe --long | sed "s/\([^-]*-\)g/r\1/;s/-/./g" alias gnv='printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"' alias gr='git reset' -#========= Package Management ========= -# Navigation -alias dirconf='"${EDITOR}" -- "${XDG_CONFIG_HOME:-${HOME}/.config}/user-dirs.dirs"' -alias dotfiles='cd "${HOME}/Dotfiles"' -alias xch='cd -- ${XDG_CONFIG_HOME:-${HOME}/.config}' -alias xcah='cd -- ${XDG_CACHE_HOME:-${HOME}/.cache}' -alias xdh='cd -- ${XDG_DATA_HOME:-${HOME}/.local/share}' - -# Programming -# Use python-pytest-xdist plugin -#alias pytest='pytest --numprocesses=$(nproc)' -alias pyarchive='git archive -o rbackup-"$(python setup.py --version)".tar.gz --prefix=rbackup-"$(python setup.py --version)"/' +# Personal +alias la='gls --almost-all --color --group-directories-first --human-readable -l' +alias ls='gls --color --group-directories-first' +alias ll='gls --classify --color --group-directories-first --human-readable -l' # system alias myip='curl ifconfig.me' @@ -51,7 +43,7 @@ alias zshrc='${EDITOR} -- "$ZDOTDIR"/.zshrc' alias zshenv='${EDITOR} -- "$ZDOTDIR"/.zshenv' # ---------- Parameterized Aliases ---------- -# Use macOS-specific flags +# Use macOS-specific command line flags stow-config () { local dotfile_dir="${HOME}/Dotfiles" diff --git a/zsh/.config/zsh/00-common-aliases.zsh b/zsh/.config/zsh/00-common-aliases.zsh index 4e511b8..cb00054 100644 --- a/zsh/.config/zsh/00-common-aliases.zsh +++ b/zsh/.config/zsh/00-common-aliases.zsh @@ -25,9 +25,6 @@ alias vmore='nvim -u "${XDG_CONFIG_HOME:-${HOME}/.config}/nvim/pager.vim" -' alias :q='exit' alias ct='cptemplate' alias less='less -i --' -alias la='ls --almost-all --color --group-directories-first --human-readable -l' -alias ls='ls --color --group-directories-first' -alias ll='ls --classify --color --group-directories-first --human-readable -l' alias python='python3' alias spcli='speedtest-cli --secure' alias tmux='tmux -f "${XDG_CONFIG_HOME:-${HOME}/.config}"/tmux/tmux.conf'