aliases and EDITOR (once more)
This commit is contained in:
parent
e12b0f4122
commit
f695029b5f
3
.zshrc
3
.zshrc
|
@ -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" }
|
||||||
|
|
Loading…
Reference in New Issue