mirror of
https://github.com/shokinn/.files.git
synced 2025-02-28 23:23:05 +00:00
add completions for sshc
This commit is contained in:
parent
c8f8c4678e
commit
97c71a846b
|
@ -157,6 +157,7 @@ source ${ZSH}/oh-my-zsh.sh
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
# [[ -f {{@@ env['HOME'] @@}}/.files/dotdrop.sh ]] && alias dotdrop='eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public) {{@@ env['HOME'] @@}}/.files/dotdrop.sh' # Not required anymore since I now use
|
# [[ -f {{@@ env['HOME'] @@}}/.files/dotdrop.sh ]] && alias dotdrop='eval $(grep -v "^#" {{@@ env['HOME'] @@}}/.files/.env.public) {{@@ env['HOME'] @@}}/.files/dotdrop.sh' # Not required anymore since I now use
|
||||||
[[ $(command -v thefuck) ]] && eval $(thefuck --alias)
|
[[ $(command -v thefuck) ]] && eval $(thefuck --alias)
|
||||||
|
[[ $(command -v sshc) ]]&& eval "$(_SSHC_COMPLETE=zsh_source sshc)"
|
||||||
#{%@@ if linux == true @@%}
|
#{%@@ if linux == true @@%}
|
||||||
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
|
# Use https://github.com/jgaa/shinysocks as simple socks5 proxy for windows
|
||||||
#[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
|
#[[ $(command -v kubectl) ]] && alias proxy_kubectl="http_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 https_proxy=socks5://$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):1080 kubectl"
|
||||||
|
|
Loading…
Reference in a new issue