19
zsh/.zshrc
19
zsh/.zshrc
@@ -13,32 +13,14 @@ export HISTSIZE=50000
|
||||
export SAVEHIST=50000
|
||||
export HISTTIMEFORMAT="[%F %T] "
|
||||
|
||||
# Following commands from: https://registerspill.thorstenball.com/p/which-command-did-you-run-1731-days
|
||||
# Immediately append to history file:
|
||||
setopt INC_APPEND_HISTORY
|
||||
|
||||
# Record timestamp in history:
|
||||
setopt EXTENDED_HISTORY
|
||||
|
||||
# Expire duplicate entries first when trimming history:
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
|
||||
# Dont record an entry that was just recorded again:
|
||||
setopt HIST_IGNORE_DUPS
|
||||
|
||||
# Delete old recorded entry if new entry is a duplicate:
|
||||
setopt HIST_IGNORE_ALL_DUPS
|
||||
|
||||
# Do not display a line previously found:
|
||||
setopt HIST_FIND_NO_DUPS
|
||||
|
||||
# Dont record an entry starting with a space:
|
||||
setopt HIST_IGNORE_SPACE
|
||||
|
||||
# Dont write duplicate entries in the history file:
|
||||
setopt HIST_SAVE_NO_DUPS
|
||||
|
||||
# Share history between all sessions:
|
||||
setopt SHARE_HISTORY
|
||||
|
||||
# Alias
|
||||
@@ -54,6 +36,7 @@ alias notify="dunstify \"ping~\""
|
||||
alias latexmk="latexmk -f -pdf -interaction=nonstopmode"
|
||||
alias picotik="picocom --b 115200 /dev/ttyUSB0"
|
||||
alias kc="kubectl"
|
||||
alias nspeedl="curl -s -o /dev/null -w \"DNS Lookup: %{time_namelookup}\nTCP Connect: %{time_connect}\nTotal: %{time_total}\n\" http://www.tudattr.dev"
|
||||
|
||||
|
||||
# Theme
|
||||
|
||||
Reference in New Issue
Block a user