aliases and EDITOR (once more)

This commit is contained in:
Christoph J. Scherr 2024-06-25 22:48:48 +02:00
parent e12b0f4122
commit f695029b5f
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`
# see https://github.com/Slackadays/Clipboard/issues/171
export DATEFMT='+%a %Y-%m-%d %X'
export EDITOR=nvim
export VISUAL=nvim
### Aliases
@ -39,6 +41,7 @@ alias open=xdg-open
alias ipb="ip -brief"
alias psa="ps -eadf"
alias fsize="stat --printf='%s'"
alias rg="rg --no-ignore"
### Functions
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }