Initial Commit
This commit is contained in:
parent
f014b4dda4
commit
72d941defb
1 changed files with 58 additions and 0 deletions
58
.zshrc
Normal file
58
.zshrc
Normal file
|
@ -0,0 +1,58 @@
|
|||
fastfetch
|
||||
|
||||
# VI-Mode
|
||||
set -o vi
|
||||
|
||||
# Boop a website
|
||||
function boop() {
|
||||
ping $@ | sed -E 's/PING/BOOP/;s/[^0-9]*.bytes/ beeps/'
|
||||
}
|
||||
|
||||
# Exports
|
||||
export PAGER=bat
|
||||
export EDITOR=nvim
|
||||
export VISUAL="emacsclient -c -a 'emacs'"
|
||||
export -f boop
|
||||
export PATH=$PATH:/home/emma/.emacs.d/bin/:/home/emma/.local/bin/
|
||||
|
||||
# Setopt
|
||||
setopt autocd
|
||||
setopt correct
|
||||
|
||||
# Listing stuff
|
||||
alias ls='eza --color=always --group-directories-first'
|
||||
alias la='eza -a --color=always --group-directories-first'
|
||||
alias ll='eza -lah --color=always --group-directories-first'
|
||||
alias l.='eza -a | grep "^\."'
|
||||
|
||||
# Make things readable
|
||||
alias df='df -h'
|
||||
alias rg='rg --color=always'
|
||||
|
||||
# Memes
|
||||
alias meow='cat'
|
||||
alias wanna-fuck-me-now='echo "I use Gentoo btw" | cowsay | lolcat'
|
||||
alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash'
|
||||
|
||||
# Vim-Esque Terminal exiting
|
||||
alias :q=exit
|
||||
alias :q!=exit
|
||||
alias :wq=exit
|
||||
|
||||
|
||||
# Package Management aliases
|
||||
alias fullsys='doas emerge --sync && doas emerge -auDN @world && doas emerge --depclean' # Updates everything on the system
|
||||
alias remorph='doas emerge --depclean' # Removes orphaned packages
|
||||
alias checkfetch='doas tail -f /var/log/emerge-fetch.log' # Shows the progress of Emerge's current fetch
|
||||
|
||||
# Emacs Aliases
|
||||
alias emacsdaemon='/usr/bin/emacs --daemon'
|
||||
alias emacs='emacsclient -c -a "emacs"'
|
||||
alias emanw='emacs -nw'
|
||||
alias vim=nvim
|
||||
|
||||
# Python aliases
|
||||
alias pybuild="python -m build"
|
||||
alias pytwine="python -m twine"
|
||||
|
||||
eval "$(starship init zsh)"
|
Loading…
Reference in a new issue