cleanup
This commit is contained in:
+1
-37
@@ -16,17 +16,12 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
bindkey '^ ' autosuggest-accept
|
||||
|
||||
# ==== holy fuck aliases ====
|
||||
|
||||
# make sure i get the right version of python
|
||||
alias python='python3'
|
||||
|
||||
alias pls='sudo'
|
||||
alias please='sudo'
|
||||
|
||||
# fuck
|
||||
alias fuck="sudo !!"
|
||||
|
||||
# neovim
|
||||
alias vi='nvim'
|
||||
alias vim='nvim'
|
||||
@@ -34,30 +29,13 @@ alias n="nvim"
|
||||
alias neovim='nvim'
|
||||
alias v='nvim'
|
||||
|
||||
# duplicate current alacritty unit
|
||||
alias dupe='setsid alacritty --working-directory "$(pwd)" > /dev/null'
|
||||
|
||||
# alias so i can copy stuff to my clipboard from my terminal
|
||||
# example:
|
||||
#$ pwd | clip
|
||||
alias clip='perl -p -e "chomp if eof" | xclip -in -sel clip'
|
||||
alias pwdc='pwd | clip | echo "directory clipped"'
|
||||
|
||||
alias cls="clear"
|
||||
|
||||
## Curl Aliases for easy info
|
||||
alias myip="curl https://ipecho.net/plain; echo"
|
||||
alias pq="ping google.com -c 5"
|
||||
|
||||
alias ..="cd ../"
|
||||
alias ../="cd ../"
|
||||
alias ...="cd ../.."
|
||||
alias .4="cd ../../.."
|
||||
|
||||
# replacing ls with exa & lsd
|
||||
# hrr drr why do you use lsd AND exa?
|
||||
# because lsd has icons but exa is better with everything else. smh.
|
||||
|
||||
# Lolcats!!
|
||||
alias neofetch="neofetch | lolcat"
|
||||
|
||||
@@ -65,18 +43,9 @@ alias neofetch="neofetch | lolcat"
|
||||
alias untar="tar -zxvf"
|
||||
alias mktar="tar -cvzf"
|
||||
|
||||
# by default, put zathura windows in new process
|
||||
# alias zathura="sh /home/synchronous/.scripts/zathura/zathura_conditional.sh"
|
||||
# alias exclude-zathura="pwd >> /home/synchronous/.scripts/zathura/excluded;echo 'done'"
|
||||
|
||||
# make ncdu run fast wow
|
||||
# make ncdu run fast
|
||||
alias ncdu="ncdu -rx"
|
||||
|
||||
alias ndwc="nmcli device wifi connect"
|
||||
alias ndwl="nmcli device wifi list"
|
||||
alias ndc="nmcli device disconnect wlan0"
|
||||
alias wt="systemctl restart NetworkManager"
|
||||
alias syncthing="firefox localhost:8384"
|
||||
alias htop="btop" # of course
|
||||
alias top="btop" # of course
|
||||
|
||||
@@ -128,11 +97,6 @@ a.fo() {
|
||||
firefox `pwd`
|
||||
}
|
||||
|
||||
a.dnsenum() {
|
||||
dnsenum "$@"
|
||||
}
|
||||
|
||||
|
||||
# ------------------- fzf configuration
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
export FZF_DEFAULT_COMMAND='fd --type f'
|
||||
|
||||
Reference in New Issue
Block a user