manager/config/bash/bashrc.d/aliases
Dan Anglin 30038788b4
feat(bash): XDG Dir spec updates and other fixes
- Update program configurations to use the XDG Directories with the help
  of xdg-ninja.
- Add missing alias for the copy command.
- Remove the alias for tmux since it should now support XDG_CONFIG_HOME
  by default.
- Remove the run_package_updates function since this is now a bash
  script.
- Update the MANPAGER variable so that it works properly with neovim,
2022-05-15 21:33:17 +01:00

31 lines
629 B
Bash

## Description: All aliases are defined here.
## vim: ft=sh :
alias ls='ls --color=auto'
alias ll='ls -laF'
alias la='ls -A'
alias l='ls -CF'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias systemctl='sudo systemctl'
alias journalctl='sudo journalctl'
# aliases for pacman
if [[ -x $( command -v pacman ) ]]; then
alias pacman='sudo pacman'
alias pacupdate='sudo pacman -Syu --noconfirm'
fi
alias pwgen="pwgen -s -c -n"
alias dc="docker-compose"
alias vim="nvim"
alias view="nvim -R"
alias vimdiff="nvim -d"