Add alias to send data to PrivateBin instance

This commit is contained in:
Jeremy Gardais 2019-08-26 15:27:31 +02:00
parent 542742f7d0
commit 096afa2d03
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 11 additions and 3 deletions

14
zshrc
View File

@ -106,7 +106,7 @@ alias mane="LANG=C man "
# Afficher les lignes trop longues sur la ligne suivante plutot que de remplacer par un "$": # Afficher les lignes trop longues sur la ligne suivante plutot que de remplacer par un "$":
alias most='most -w' alias most='most -w'
# Commandes de gestion des paquets pour aptitude ou yum # Commandes de gestion des paquets pour aptitude ou yum {{{
if [ -d /etc/apt ]; then if [ -d /etc/apt ]; then
alias acle='sudo aptitude clean' alias acle='sudo aptitude clean'
alias afil='apt-file search' alias afil='apt-file search'
@ -130,14 +130,16 @@ else
alias ins='yum install' alias ins='yum install'
alias version='yum info &1|grep "Version"' alias version='yum info &1|grep "Version"'
fi fi
# }}}
# Grep aliases # Grep aliases {{{
alias grep='grep --color=always -i ' alias grep='grep --color=always -i '
alias gerp='grep -i' alias gerp='grep -i'
alias Grep='\grep ' alias Grep='\grep '
alias gdpkg='dpkg -l | grep -- ' alias gdpkg='dpkg -l | grep -- '
alias gmount='mount | grep -- ' alias gmount='mount | grep -- '
alias gdf='df | grep -- ' alias gdf='df | grep -- '
# }}}
# Espace disque # Espace disque
alias df='df -kTh' alias df='df -kTh'
@ -165,7 +167,13 @@ alias ci='screen -x ssh || screen -c ~/.screen/scr.ssh_ci'
alias ta='tmux a || tmux' alias ta='tmux a || tmux'
alias td='tmux detach' alias td='tmux detach'
## Git aliases Try to prefix with 'gg'{{{ # Send the content of a file to a privatebin
# Needs cpaste or any other Third party clients for PrivateBin
# https://github.com/PrivateBin/PrivateBin/wiki/Third-party-clients
alias pbin='~/repos/cpaste/cpaste --sourcecode --expire 1week --file '
## Git aliases Try to prefix with 'gg' {{{
### Get status of the repo ### Get status of the repo
alias ggstatus='git status' alias ggstatus='git status'
### Download any new commits ### Download any new commits