From c42cf7f58b2705874ee2746bee2a69000359299e Mon Sep 17 00:00:00 2001 From: NeodarZ Date: Sun, 4 Feb 2018 23:59:51 +0100 Subject: Add myip script --- zsh/.zsh/aliases.zsh | 1 + 1 file changed, 1 insertion(+) (limited to 'zsh') diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh index 95fb0a4..11327a1 100755 --- a/zsh/.zsh/aliases.zsh +++ b/zsh/.zsh/aliases.zsh @@ -158,6 +158,7 @@ alias tlol="printf '\033k┐(^0^)┌\033\\'" 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" #█▓▒░ update mpd database #function genplaylist() { -- cgit v1.2.1