-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
93 lines (69 loc) · 2.48 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
. "$HOME/.cargo/env"
# if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# fi
# ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(git fzf 1password zoxide vi-mode sudo rust conda-env alias-finder)
zstyle ':omz:plugins:alias-finder' autoload yes # disabled by default
zstyle ':omz:plugins:alias-finder' longer yes # disabled by default
zstyle ':omz:plugins:alias-finder' exact yes # disabled by default
zstyle ':omz:plugins:alias-finder' cheaper yes # disabled by default
source $ZSH/oh-my-zsh.sh
# ENVIRONMENT VARIABLES
export XDG_CURRENT_DESKTOP=Sway
export WAYLAND_DISPLAY=wayland-0
export CALIBRE_USE_DARK_PALETTE=0
export EDITOR=nvim
export ZSH="$HOME/.oh-my-zsh"
export PATH="$PATH:/home/kirkm/.local/share/JetBrains/Toolbox/scripts:/home/kirkm/bin:/home/kirkm/.dotnet/tools:/home/kirkm/.local/bin"
# ALIASES
alias vi="nvim"
alias entry="vi ~/Uni/Essentials/Diary/$(date -u +%Y-%m-%d.md)"
alias zrc="vi ~/.zshrc"
alias src="source ~/.zshrc"
alias zj="zellij"
alias clear="clear; tput cup $LINES"
alias ls="lsd"
alias uni="vi ~/Uni"
alias update="sudo dnf update && sudo dnf upgrade"
alias rw="/home/kirkm/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux"
alias ca="conda activate"
alias ac="conda deactivate"
# FUNCTIONS
# cd(){
# echo "Time to use z"
# }
#
# function pip(){
# if [[ -z $CONDA_PREFIX ]]
# then
# echo "do not install python packages outside of a conda env!!"
# return
# else
# command pip $@
# fi
# }
# SOURCING
# [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# OPTIONS
# set -o vi
tput cup $LINES
pokemon-colorscripts -r --no-title
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
# lisgd -g "3,RL,swaymsg workspace next" -d /dev/input/by-path/platform-AMDI0010:00-event -r 45 -m 1200 -t 100 &
# lisgd -g "3,LR,swaymsg workspace prev" -d /dev/input/by-path/platform-AMDI0010:00-event -r 45 -m 1200 -t 100 &
# xmodmap ~/.Xmodmap
if [[ -z $TMUX ]] then
tmux
fi
eval "$(starship init zsh)"