config backup

This commit is contained in:
2021-01-23 15:45:15 +01:00
parent 25bc62b041
commit e3906019e0
2 changed files with 34 additions and 0 deletions

1
zsh_config/.oh-my-zsh Submodule

Submodule zsh_config/.oh-my-zsh added at fae34b383d

33
zsh_config/.zshrc Normal file
View File

@@ -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