resolver script
This commit is contained in:
parent
083338940d
commit
fb6ac24821
6
.zshrc
6
.zshrc
|
@ -19,7 +19,7 @@ export CLIPBOARD_NOGUI=1 # wayland only allows GUI apps to use the clipboard.
|
|||
alias l="lsd -lah"
|
||||
alias ll="lsd -lh"
|
||||
alias la="lsd -a"
|
||||
alias ls="ls"
|
||||
alias ls="lsd"
|
||||
alias grep="grep --color"
|
||||
alias egrep="grep -E"
|
||||
alias lgrep="find | grep"
|
||||
|
@ -30,6 +30,7 @@ alias bat=batcat
|
|||
alias reload="source ~/.zshrc"
|
||||
alias gls=/bin/ls
|
||||
alias gotemp="cd $(mktemp -d)"
|
||||
alias dns=resolve
|
||||
|
||||
### Functions
|
||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||
|
@ -42,6 +43,9 @@ function condac() {
|
|||
conda activate $@
|
||||
export HOST=$(hostname)
|
||||
}
|
||||
function resolve() {
|
||||
dig +short $@
|
||||
}
|
||||
|
||||
### ---- zsh options -------------------------------------
|
||||
setopt autocd
|
||||
|
|
Loading…
Reference in New Issue