aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-05 15:17:33 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-05 15:17:33 +0000
commitf723eec9bac125536b3b956d9eb26fea8fb60deb (patch)
tree2fb071ee2d70c071d84bf255c6ccfeee725cf6ec /.zshrc
parentmore updates for irssi (diff)
downloadscripts-f723eec9bac125536b3b956d9eb26fea8fb60deb.tar.gz
scripts-f723eec9bac125536b3b956d9eb26fea8fb60deb.zip
update
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 9bcf199..319a3a3 100644
--- a/.zshrc
+++ b/.zshrc
@@ -168,6 +168,7 @@ alias socks5vpn4="autossh -M 0 -N -D 9994 -o ServerAliveInterval=180 -o ServerAl
alias socks5vpn6="autossh -M 0 -N -D 9993 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -6 -l ubuntu -p 3022 2a07:e01:3:204::1"
alias cloud_one="ssh 130.185.121.80 -l ubuntu -p 1022"
alias zharf_server="zssh 192.168.12.5 -l farzad"
+alias zharf_server2="zssh 192.168.90.7 -l root"
alias k9sskin="vim ~/scripts/.k9s/skin.yml"
alias k9sconfig="vim ~/scripts/.k9s/config.yml"
alias fixk9sskin="cp ~/scripts/.k9s/skin.yml ~/.config/k9s/skin.yml"
@@ -221,6 +222,7 @@ alias fixgitconfigrc="cp ~/scripts/.gitconfig ~/.gitconfig"
alias nviminit="vim ~/scripts/init.vim"
alias fixnviminit="cp ~/scripts/init.vim ~/.config/nvim/init.vim"
alias mysql='mysql --safe-updates --prompt="\u@\h [\d]>"'
+alias socat="socat -d -d"
#autosuggest
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold,underline"
@@ -508,6 +510,10 @@ pod2w3m() {
pod2html $1 | w3m -T text/html
}
+get_irssi_logs() {
+ psql -h 192.168.1.109 -p 30432 -U postgres postgres -c '\c irc' -c 'select * from public.logs;'
+}
+
setopt APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS