bashrc: aliases `e`, `vvim` and `vim` must be in order (the one specified)
This commit is contained in:
parent
1808edb36f
commit
312c1da314
7
.bashrc
7
.bashrc
|
@ -151,7 +151,6 @@ alias clear="clear && printf '\e[3J'"
|
|||
alias dotfiles="git --git-dir=${HOME}/.dotfiles --work-tree=${HOME}"
|
||||
alias download='aria2c --max-connection-per-server=16 --min-split-size=1M --file-allocation=none --continue=false --seed-time=0'
|
||||
alias drivetemp='hdparm -CH'
|
||||
alias e="$(command -v nvim)"
|
||||
alias mtr='mtr --show-ips --displaymode 0 -o "LDR AGJMXI"'
|
||||
alias nixcheckconf="rsync --fsync ${RSYNC_OPTIONS} --dry-run --checksum ${HOME}/my-git-repos/pratham/prathams-nixos/nixos-configuration/ /etc/nixos/"
|
||||
alias prettynixbuild='nix build --log-format internal-json -v . 2>&1 | nom --json'
|
||||
|
@ -159,8 +158,12 @@ alias serialterm="tty_serial"
|
|||
alias sudo='sudo '
|
||||
alias unxz='unxz --keep' # override 'unxz' with this to always keep the archive
|
||||
alias update="source ${HOME}/.bashrc"
|
||||
alias vim="$(command -v nvim)"
|
||||
|
||||
|
||||
# yes, the order is | e -> vvim -> vim |
|
||||
alias e="$(command -v nvim)"
|
||||
alias vvim="$(command -v vim)"
|
||||
alias vim="$(command -v nvim)"
|
||||
|
||||
# git
|
||||
alias gadd='git add'
|
||||
|
|
Loading…
Reference in New Issue