87 lines
2.4 KiB
Bash
87 lines
2.4 KiB
Bash
export ZSH="$HOME/.oh-my-zsh" # Path to oh-my-zsh installation
|
|
ZSH_THEME="agnoster"
|
|
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
|
|
COMPLETION_WAITING_DOTS="true"
|
|
DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
|
|
plugins=(
|
|
vi-mode
|
|
# zsh-autocomplete
|
|
# zsh-syntax-highlighting
|
|
colored-man-pages
|
|
# catimg
|
|
# copyfile
|
|
)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# User configuration
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
# Preferred editor for local and remote sessions
|
|
if [[ -n $SSH_CONNECTION ]]; then
|
|
export EDITOR=nvim
|
|
echo Now entering:
|
|
cat /etc/hostname
|
|
# neofetch --disable song --de_version off --gtk3 off --ascii_distro
|
|
else
|
|
export EDITOR=nvim
|
|
figlet -f small Hello, Alison! | blahaj
|
|
macchina
|
|
#eval "$(thefuck --alias)"
|
|
fi
|
|
|
|
export VISUAL=nvim
|
|
#WLR_RENDERER=vulkan
|
|
#WLR_NO_HARDWARE_CURSORS=1
|
|
#XWAYLAND_NO_GLAMOR=1
|
|
|
|
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
|
# [ "$TERM" = "foot" ]
|
|
alias l="eza"
|
|
alias la="eza -A"
|
|
alias ll="eza -l"
|
|
alias lt="eza -lt"
|
|
alias lb="eza -lS"
|
|
alias lsda="eza -lA"
|
|
alias mm="ncmpcpp"
|
|
alias fm="joshuto"
|
|
alias nf="macchina"
|
|
alias du="dua i"
|
|
alias conf="cd ~/.config"
|
|
alias dots="cd ~/.dots"
|
|
alias nv="nvim"
|
|
alias zrc="nvim ~/.zshrc"
|
|
alias swaycf="nvim ~/.config/sway/config"
|
|
alias krc="nvim ~/.config/kitty/kitty.conf"
|
|
alias foof="nvim ~/.config/foot/foot.ini"
|
|
alias durc="nvim ~/.config/dunst/dunstrc"
|
|
alias nfrc="nvim ~/.config/neofetch/config.conf"
|
|
alias virc="nvim ~/.config/nvim/vim.init"
|
|
alias tn="tmux new -s "
|
|
alias ta="tmux attach-session -t "
|
|
alias ga="git add"
|
|
alias gc="git commit -m "
|
|
alias gp="git push"
|
|
alias gb="git checkout"
|
|
alias gm="git merge"
|
|
alias gst="git status"
|
|
alias vpnstat="curl ipinfo.io/ip && curl ipinfo.io/city && curl ipinfo.io/region && curl ipinfo.io/country && curl ipinfo.io/loc"
|
|
alias chad="cat ~/.dots/ascii/chad"
|
|
alias whoamiyo="echo My name is | figlet && whoami | figlet | lolcat && echo yo | figlet && cat ~/.dots/ascii/skylerwhiteyo | lolcat"
|
|
alias clock="tty-clock -c -s -b -C 7"
|
|
alias nixconf="sudo nvim /etc/nixos/configuration.nix"
|
|
alias nixswitch="sudo nixos-rebuild switch"
|
|
|
|
#export paths
|
|
export PATH=$PATH:~/.config/emacs/bin
|
|
export PATH=$PATH:~/.emacs.d/bin
|
|
export PATH=$PATH:~/go/bin
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
export PATH=$PATH:~/.local/bin
|
|
export PATH=$PATH:/usr/local/bin
|
|
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
|
#
|
|
# private enviroment variables
|
|
source ~/.dots/.zshrcenv
|