about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·25+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·25+0100
commit1e84900ac9cb36b4caa5cd708fb637c7a3e1aaa4 (patch)
treefec97c4e980e70348d9248e537821e1fc4741190
parent4e399986717d61363f6174de0b85c3b39e040310 (diff)
Support alias for `tput reset`
Useful command to run instead of `clear` - especially after printing sensitive
information to STDOUT. E.g. after running - `pass show misc/secret`.
-rw-r--r--configs/shared/zsh/aliases.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/shared/zsh/aliases.zsh b/configs/shared/zsh/aliases.zsh
index a2f0a8852b40..e08af926ea50 100644
--- a/configs/shared/zsh/aliases.zsh
+++ b/configs/shared/zsh/aliases.zsh
@@ -50,6 +50,7 @@ alias rgh='rg --hidden' # By default, rg skips hidden files
 alias fdh='fd --hidden' # By default, rg skips hidden files
 alias define=sdcv # uses stardict to lookup a word
 alias intellij='nohup /opt/intellij-ce-stable/bin/idea.sh >/dev/null 2>&1 &'
+alias tpr='tput reset'
 
 # Gnome
 alias na=nautilus # Gnome's graphical file browser. Useful to click and dragging files into emails