Skip to content

Instantly share code, notes, and snippets.

@mbaneshi
Created July 2, 2023 09:47
Show Gist options
  • Save mbaneshi/cad22e71d851a9db0e60c178fadeba47 to your computer and use it in GitHub Desktop.
Save mbaneshi/cad22e71d851a9db0e60c178fadeba47 to your computer and use it in GitHub Desktop.
abbr sss "open x-apple.systempreferences:com.apple.preference.sound"
abbr kt 'kitty +kitten themes'
abbr fcc fish_config
abbr s "kitty +kitten ssh"
abbr tws ' ssh -C -N -v -L 8080:twitter.com:80 shahab@23.88.127.140'
abbr swp0 'networksetup -setwebproxy "Wi-Fi" 127.0.0.1 1080'
abbr swp0a 'networksetup -setwebproxy "Wi-Fi" 127.0.0.1 1080 on shahab aass'
abbr on2 'networksetup -setwebproxystate Wi-Fi on'
abbr l 'exa --oneline --icons --color-scale --long'
abbr lt 'exa --icons --color-scale --tree --all --long '
abbr lt1 'exa --icons --color-scale --tree --all --long --level 1'
abbr lt2 'exa --icons --color-scale --tree --all --long --level 2'
abbr lt3 'exa --icons --color-scale --tree --all --long --level 3'
abbr lt4 'exa --icons --color-scale --tree --all --long --level 4'
abbr lt5 'exa --icons --color-scale --tree --all --long --level 5'
abbr lt6 'exa --icons --color-scale --tree --all --long --level 6'
abbr lt7 'exa --icons --color-scale --tree --all --long --level 7'
abbr lt8 'exa --icons --color-scale --tree --all --long --level 8'
abbr ls 'exa --icons --color-scale -a -x'
abbr tt zellij
set -Ux MANPAGER most
#set -U fish_man_colorize yes
if status is-interactive
# Commands to run in interactive sessions can go here
end
source (/usr/local/bin/starship init fish --print-full-init | psub)
zoxide init fish | source
abbr p0r 'ssh -N -v -C -D 1080 root@23.88.127.140'
abbr p1r 'ssh -N -v -C -D 1081 root@23.88.127.140'
abbr p2r 'ssh -N -v -C -D 1082 root@23.88.127.140'
abbr p3r 'ssh -N -v -C -D 1083 root@23.88.127.140'
abbr p4r 'ssh -N -v -C -D 1084 root@23.88.127.140'
abbr p5r 'ssh -N -v -C -D 1085 root@23.88.127.140'
abbr p0s 'ssh -N -v -C -D 1080 shahab@23.88.127.140'
abbr p1s 'ssh -N -v -C -D 1081 shahab@23.88.127.140'
abbr p2s 'ssh -N -v -C -D 1082 shahab@23.88.127.140'
abbr p3s 'ssh -N -v -C -D 1083 shahab@23.88.127.140'
abbr p4s 'ssh -N -v -C -D 1084 shahab@23.88.127.140'
abbr p5s 'ssh -N -v -C -D 1085 shahab@23.88.127.140'
abbr pg 'ping www.google.com'
abbr nv nvim
abbr vi nvim
abbr v nvim
abbr fe 'nvim /Users/Shahab/.config/fish/config.fish'
abbr pip 'python3 -m pip --proxy socks5h://127.0.0.1:1080 install'
abbr off "networksetup -setairportpower 'Wi-Fi' off"
abbr on 'sudo networksetup -setairportpower Wi-Fi on'
abbr ll "exa -l"
abbr la "exa -la"
abbr .. "cd .."
abbr ... "cd ../.."
abbr .... "cd ../../.."
abbr ~ "cd ~"
abbr - -
abbr cp "cp -i"
abbr mv "mv -i"
abbr rm "rm -i"
abbr md "mkdir -p"
abbr ga "git add"
abbr gs "git status"
abbr gc "git commit"
abbr gp "git push"
abbr gl "git log"
abbr apt-get brew
abbr pip pip3
abbr h "history | grep"
abbr c clear
abbr e exit
abbr fs "source ~/.config/fish/config.fish"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment