Merge branch 'master' of git.blakenorth.net/home/git/dotfiles
This commit is contained in:
commit
b2c4d70e4b
7 changed files with 124 additions and 74 deletions
|
@ -4,6 +4,8 @@
|
|||
alias \
|
||||
vimdiff='nvim -d' \
|
||||
|
||||
alias sd=sudo
|
||||
|
||||
alias \
|
||||
vv='$EDITOR' \
|
||||
e='$EDITOR' \
|
||||
|
@ -31,7 +33,7 @@ alias \
|
|||
|
||||
# <<<
|
||||
## Program improvements (ex: ls = ls -h) >>>
|
||||
alias sudo='sudo VISUAL="$VISUAL" SYSTEMD_EDITOR="$SYSTEMD_EDITOR" ' # allow using aliases in sudo commands
|
||||
alias sudo='sudo VISUAL="$VISUAL" SYSTEMD_EDITOR="$SYSTEMD_EDITOR" ' # allow using aliases in sudo commands and add some env vars
|
||||
alias df='df -h' # Human-readable sizes
|
||||
alias free='free -m' # Show sizes in MB
|
||||
alias bc='bc -ql' # Make bc usable for fast math
|
||||
|
@ -52,6 +54,7 @@ alias \
|
|||
fgrep='fgrep --color=auto' \
|
||||
diff='diff --color=auto' \
|
||||
pacman='pacman --color=auto' \
|
||||
alias ip='ip -color=auto' \
|
||||
|
||||
# super duper paru alias
|
||||
# shellcheck disable=SC2139
|
||||
|
@ -86,9 +89,11 @@ alias ydotool='(sudo ydotoold &) && sleep 0.05 && sudo ydotool'
|
|||
# Update zinit and plugins
|
||||
alias zup='zinit self-update && zinit update --parallel'
|
||||
|
||||
# Run PackerSync in neovim with PS
|
||||
alias PS='nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"'
|
||||
|
||||
# Edit config files
|
||||
alias \
|
||||
nvc='(cd ~/.config/nvim/lua/blake && nvim ../../init.lua)' \
|
||||
zc='$EDITOR ~/.zshrc' \
|
||||
sc='$EDITOR $SHELL_CONFIG_DIR/shrc' \
|
||||
fstab='sudoedit /etc/fstab' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue