bashrc & zshrc: add sprungeus command (closes #43)

This commit is contained in:
Mikaela Suomalainen 2014-07-30 20:34:51 +03:00
parent 1669a6657e
commit 2bddcb6495
2 changed files with 6 additions and 0 deletions

3
bashrc
View File

@ -542,6 +542,9 @@ alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach"
# Reset configuration files on systems using apt # Reset configuration files on systems using apt
alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask" alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask"
# Send command output to http://sprunge.us `command|sprungeus`
alias sprungeus="curl -F 'sprunge=<-' http://sprunge.us"
# Allow custom aliases to be put in .aliases or .bash_aliases . # Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases # .aliases

3
zshrc
View File

@ -512,6 +512,9 @@ alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach"
# Reset configuration files on systems using apt # Reset configuration files on systems using apt
alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask" alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confask"
# Send command output to http://sprunge.us `command|sprungeus`
alias sprungeus="curl -F 'sprunge=<-' http://sprunge.us"
# .aliases # .aliases
if [ -f ~/.aliases ]; then if [ -f ~/.aliases ]; then
source ~/.aliases source ~/.aliases