mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
bashrc & zshrc: add alias follow for tail -f
This commit is contained in:
parent
93f276f66f
commit
39596ea7a4
2
bashrc
2
bashrc
@ -320,6 +320,8 @@ alias http.debian.net="lynx http.debian.net/debian/project/trace/"
|
|||||||
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"
|
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"
|
||||||
alias gpg-key-count="gpg --export -a|gpg --import"
|
alias gpg-key-count="gpg --export -a|gpg --import"
|
||||||
|
|
||||||
|
alias follow="tail -f "
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
2
zshrc
2
zshrc
@ -269,6 +269,8 @@ alias http.debian.net="lynx http.debian.net/debian/project/trace/"
|
|||||||
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"
|
alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l"
|
||||||
alias gpg-key-count="gpg --export -a|gpg --import"
|
alias gpg-key-count="gpg --export -a|gpg --import"
|
||||||
|
|
||||||
|
alias follow="tail -f "
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user