diff --git a/zsh_config/.oh-my-zsh b/zsh_config/.oh-my-zsh new file mode 160000 index 0000000..fae34b3 --- /dev/null +++ b/zsh_config/.oh-my-zsh @@ -0,0 +1 @@ +Subproject commit fae34b383d6432f7118c2ad082224f6d27d51221 diff --git a/zsh_config/.zshrc b/zsh_config/.zshrc new file mode 100644 index 0000000..c3b6d47 --- /dev/null +++ b/zsh_config/.zshrc @@ -0,0 +1,33 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +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 + + +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +export ZSH="/home/tobi/.oh-my-zsh" + +ZSH_THEME="powerlevel10k/powerlevel10k" + + + +HYPHEN_INSENSITIVE="true" + +plugins=(git) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +alias sc="micro ~/.config/sway/config" +alias truenas-con="/home/tobi/arch_config/tools/nas_connect.sh 10.0.1.220 data tobimai tobi10203 truenas" +alias nas-connect="/home/tobi/arch_config/tools/nas_connect.sh" +alias ssh="env TERM=xterm ssh" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh