1
0
Fork 0

bashrc: aliases `e`, `vvim` and `vim` must be in order (the one specified)

This commit is contained in:
Pratham Patel 2024-03-19 17:32:53 +05:30
parent 1808edb36f
commit 312c1da314
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 5 additions and 2 deletions

View File

@ -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'