12-08-2021
This commit is contained in:
28
.zshrc
28
.zshrc
@@ -123,6 +123,7 @@ export TLDR_PARAM='blue'
|
||||
|
||||
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 5. History
|
||||
# ---------------------------------------
|
||||
@@ -319,7 +320,7 @@ function acp() {
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.g PYTHON
|
||||
# 7.c PYTHON
|
||||
# ---------------------------------------
|
||||
|
||||
# soco-cli (= sonos)
|
||||
@@ -340,7 +341,7 @@ alias mkbuild="/Users/bruno/Documents/Scripts/bash/mkbuild.sh"
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.a Homebrew
|
||||
# 7.d Homebrew
|
||||
# ---------------------------------------
|
||||
|
||||
alias bo='brew info'
|
||||
@@ -358,7 +359,7 @@ alias stom='brew services stop mariadb'
|
||||
|
||||
|
||||
# ---------------------------
|
||||
# 7.c CLOUD
|
||||
# 7.e CLOUD
|
||||
# ---------------------------
|
||||
|
||||
alias 916e='ssh dsm916e'
|
||||
@@ -379,7 +380,7 @@ alias pcloud='cd $HOME/pCloud\ Drive'
|
||||
alias nextcloud='cd $HOME/Nextcloud'
|
||||
|
||||
# ---------------------------
|
||||
# 7.d SEARCHING
|
||||
# 7.f SEARCHING
|
||||
# ---------------------------
|
||||
|
||||
alias qfind="find / -name " # qfind: Quickly search for file
|
||||
@@ -389,7 +390,7 @@ ffe () { /usr/bin/find . -name '*'"$@" ; } # ffe: Find file whose name end
|
||||
|
||||
|
||||
# ---------------------------
|
||||
# 7.e NETWORKING
|
||||
# 7.g NETWORKING
|
||||
# ---------------------------
|
||||
|
||||
#alias flushDNS='dscacheutil -flushcache' # flushDNS: Flush out the DNS Cache
|
||||
@@ -423,7 +424,7 @@ alias wgetae='wget_archive_and_extract '
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.f WEB DEVELOPMENT
|
||||
# 7.h WEB DEVELOPMENT
|
||||
# ---------------------------------------
|
||||
|
||||
alias apacheTools='~/Documents/Scripts/bash/apache_tools.sh'
|
||||
@@ -479,7 +480,7 @@ alias -g X='| xargs'
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.i SONOS (soco-cli)
|
||||
# 7.j SONOS (soco-cli)
|
||||
# ---------------------------------------
|
||||
|
||||
#alias sonos-discover="/Users/bruno/Documents/venv/soco-cli/bin/sonos-discover -t 256 -n 1.0 -m 24"
|
||||
@@ -521,7 +522,7 @@ alias clon="sonos Chambre status_light on"
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.i ALIAS (divers)
|
||||
# 7.k ALIAS (divers)
|
||||
# ---------------------------------------
|
||||
|
||||
|
||||
@@ -559,6 +560,16 @@ alias mailoptimiser="curl -sS https://raw.githubusercontent.com/pbihq/tools/mast
|
||||
alias mt='multitail -F /usr/local/etc/multitail.conf'
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 7.l Backup (dotbare...)
|
||||
# ---------------------------------------
|
||||
|
||||
alias dbpush='dotbare push -u mbv master'
|
||||
alias dbadd='dotbare add -f $1'
|
||||
alias dbcomm='dotbare commit -am $1'
|
||||
alias dback='dotbare fbackup'
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 8. FONCTIONS
|
||||
# ---------------------------------------
|
||||
@@ -611,6 +622,7 @@ function gpg-decrypt() {
|
||||
gpg --quiet --decrypt $1 | tar -x
|
||||
}
|
||||
|
||||
|
||||
# ---------------------------------------
|
||||
# 10. Zinit
|
||||
# ---------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user