dotfiles/.zshrc

54 lines
1.5 KiB
Bash
Raw Normal View History

2024-07-25 07:53:21 +02:00
### Oh-My-Zsh configuration ###
#################
# PS1 #
#################
export ZSH="$HOME/.oh-my-zsh"
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="fino-time"
plugins=(
git
zsh-autosuggestions
)
### User configuration ###
#################
# EXPORTS #
#################
2024-08-19 06:16:50 +02:00
export PATH="$HOME/.local/bin:$PATH"
2024-07-25 07:53:21 +02:00
export PATH="$HOME/nvim/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
2024-08-19 06:16:50 +02:00
export PATH="$HOME/.local/share/JetBrains/Toolbox/scripts:$PATH"
2024-07-25 07:53:21 +02:00
export PATH="$HOME/.gobrew/current/bin:$HOME/.gobrew/bin:$PATH"
export GOROOT="$HOME/.gobrew/current/go"
export GOPATH="$HOME/.gobrew/gopath"
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
2024-08-05 07:09:43 +02:00
2024-07-25 14:54:25 +02:00
##################
# Source #
##################
source $ZSH/oh-my-zsh.sh
source $HOME/.cargo/env
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
2024-07-25 07:53:21 +02:00
##################
2024-07-25 14:54:25 +02:00
# Aliase #
2024-07-25 07:53:21 +02:00
##################
alias ll="ls -al"
alias vim="nvim"
alias update="sudo apt update && sudo apt upgrade -y && flatpak update -y"
alias alacritty="env -u WAYLAND_DISPLAY alacritty"
2024-08-05 07:09:43 +02:00
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME/'
2024-07-25 07:53:21 +02:00
alias config-fix='mkdir -p .config-backup && config checkout 2>&1 | egrep "\s+\." | awk {"print $1"} | xargs -I{} mv {} .config-backup/{}'
2024-08-05 07:09:43 +02:00
alias clr="clear"
2024-08-05 08:08:45 +02:00
alias cat="batcat"
2024-07-25 07:53:21 +02:00
###################
# Start Scripts #
###################
2024-08-19 06:16:50 +02:00
fastfetch -c neofetch.jsonc