Minor tweaks to zshrc

This commit is contained in:
_N0x 2021-10-18 18:12:51 +02:00
parent 8f5803974e
commit 0926af4c0f

View File

@ -9,7 +9,6 @@ if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx startx
fi fi
# Alias # Alias
alias nv="nvim" alias nv="nvim"
alias vim="nvim" alias vim="nvim"
@ -24,7 +23,7 @@ export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools export PATH=$PATH:$ANDROID_HOME/platform-tools
# exporty # export trickery
export EDITOR=nvim export EDITOR=nvim
export ZSH="/home/n0x/.oh-my-zsh" export ZSH="/home/n0x/.oh-my-zsh"
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
@ -45,8 +44,8 @@ plugins=(
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
) )
#ZSH_TMUX_AUTOSTART=true
#ZSH_TMUX_AUTOSTART=true
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
@ -57,4 +56,3 @@ source $ZSH/oh-my-zsh.sh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
[ -f ~/.config/lf/icons ] && source ~/.config/lf/icons [ -f ~/.config/lf/icons ] && source ~/.config/lf/icons
#[[ ! -f ~/dotfiles/zsh/.p10k.zsh ]] || source ~/dotfiles/zsh/.p10k.zsh