mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
rc: add multicat
cat multiple files including filenames http://stackoverflow.com/a/7816490
This commit is contained in:
parent
4766724ba4
commit
2560e7a2a9
@ -583,6 +583,10 @@ alias clear-apt-list-cache="cd /var/lib/apt/lists;rm *;cd partial;rm *;cd"
|
||||
# every other browser does this too.
|
||||
alias lynx="lynx -accept_all_cookies"
|
||||
|
||||
# Cat multiple files preserving filenames
|
||||
# via http://stackoverflow.com/a/7816490
|
||||
alias multicat='tail -n +1'
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -558,6 +558,10 @@ alias clear-apt-list-cache="cd /var/lib/apt/lists;rm *;cd partial;rm *;cd"
|
||||
# every other browser does this too.
|
||||
alias lynx="lynx -accept_all_cookies"
|
||||
|
||||
# Cat multiple files preserving filenames
|
||||
# via http://stackoverflow.com/a/7816490
|
||||
alias multicat='tail -n +1'
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user