aliases and EDITOR (once more)

This commit is contained in:
Christoph J. Scherr 2024-06-25 22:48:48 +02:00 committed by Christoph J. Scherr
parent 9ab90604b2
commit 86e8c713ee
1 changed files with 3 additions and 0 deletions

3
.zshrc
View File

@ -11,6 +11,8 @@ export CLIPBOARD_NOGUI=0 # wayland only allows GUI apps to use the clipboard.
# For wayland, set this to `1` # For wayland, set this to `1`
# see https://github.com/Slackadays/Clipboard/issues/171 # see https://github.com/Slackadays/Clipboard/issues/171
export DATEFMT='+%a %Y-%m-%d %X' export DATEFMT='+%a %Y-%m-%d %X'
export EDITOR=nvim
export VISUAL=nvim
### Aliases ### Aliases
@ -39,6 +41,7 @@ alias open=xdg-open
alias ipb="ip -brief" alias ipb="ip -brief"
alias psa="ps -eadf" alias psa="ps -eadf"
alias fsize="stat --printf='%s'" alias fsize="stat --printf='%s'"
alias rg="rg --no-ignore"
### Functions ### Functions
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" } function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }