Add alias to send data to PrivateBin instance
This commit is contained in:
parent
542742f7d0
commit
096afa2d03
12
zshrc
12
zshrc
|
@ -106,7 +106,7 @@ alias mane="LANG=C man "
|
|||
# Afficher les lignes trop longues sur la ligne suivante plutot que de remplacer par un "$":
|
||||
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
|
||||
alias acle='sudo aptitude clean'
|
||||
alias afil='apt-file search'
|
||||
|
@ -130,14 +130,16 @@ else
|
|||
alias ins='yum install'
|
||||
alias version='yum info &1|grep "Version"'
|
||||
fi
|
||||
# }}}
|
||||
|
||||
# Grep aliases
|
||||
# Grep aliases {{{
|
||||
alias grep='grep --color=always -i '
|
||||
alias gerp='grep -i'
|
||||
alias Grep='\grep '
|
||||
alias gdpkg='dpkg -l | grep -- '
|
||||
alias gmount='mount | grep -- '
|
||||
alias gdf='df | grep -- '
|
||||
# }}}
|
||||
|
||||
# Espace disque
|
||||
alias df='df -kTh'
|
||||
|
@ -165,6 +167,12 @@ alias ci='screen -x ssh || screen -c ~/.screen/scr.ssh_ci'
|
|||
alias ta='tmux a || tmux'
|
||||
alias td='tmux detach'
|
||||
|
||||
# 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
|
||||
alias ggstatus='git status'
|
||||
|
|
Loading…
Reference in New Issue