diff options
author | neodarz <neodarz@neodarz.net> | 2018-03-30 09:31:20 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-03-30 09:31:20 +0200 |
commit | d0e8ca9c173b109377a3ee05b8d8347f5a34cbcd (patch) | |
tree | 46f723ad65241e2df584264d19f4f01167ef3965 /zsh | |
parent | b077c30a51c9fb894696e176b993dec0c5eb709b (diff) | |
download | dotfiles_ascii-d0e8ca9c173b109377a3ee05b8d8347f5a34cbcd.tar.xz dotfiles_ascii-d0e8ca9c173b109377a3ee05b8d8347f5a34cbcd.zip |
Add AN2Linux script
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zsh/aliases.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh index b46df26..d095979 100755 --- a/zsh/.zsh/aliases.zsh +++ b/zsh/.zsh/aliases.zsh @@ -184,6 +184,9 @@ alias search="~/.scripts/searx.sh" alias history="IFS=\$'\\n'; for line in \$(cat ~/.zhistory); do echo \$(date --rfc-3339=ns -d @\$(echo \$line | cut -d' ' -f2 | cut -d':' -f1 | grep -e '^[0-9]') | cut -d'.' -f1)' : '\$(echo \$line | cut -d' ' -f2- | cut -d';' -f2-); done" alias historyt="cat .zhistory | cut -d' ' -f2- | cut -d';' -f2- | awk '{CMD[\$1]++;count++;}END { for (a in CMD)print CMD[a] \" \" CMD[a]/count*100 \"% \" a;}' | grep -v \"./\" | column -c3 -s \" \" -t | sort -nr | nl | head -n10" alias myip="~/.scripts/ip.sh" +alias an2l="~/.scripts/AN2Linux.sh" +alias an2lpro="an2l ~/.ssh/id_rsa_mail 212.47.251.250 tun0" +alias an2lperso="an2l ~/.ssh/id_rsa_mail 212.47.251.250 tun0" alias has="HAS_ALLOW_UNSAFE=y has" alias bc="bc -l" |