diff --git a/bashrc b/bashrc index 4ddce960..3b317cb6 100644 --- a/bashrc +++ b/bashrc @@ -542,6 +542,9 @@ alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach" # Reset configuration files on systems using apt 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 . # .aliases diff --git a/zshrc b/zshrc index b788ca60..857550e4 100644 --- a/zshrc +++ b/zshrc @@ -512,6 +512,9 @@ alias tmuxeattach="/proc/$(pgrep -o tmux)/exe attach" # Reset configuration files on systems using apt 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 if [ -f ~/.aliases ]; then source ~/.aliases