cleaned up zshrc
This commit is contained in:
parent
62d05ae6a6
commit
0316ffee8f
2 changed files with 6 additions and 18 deletions
5
.xinitrc
5
.xinitrc
|
@ -1,3 +1,8 @@
|
||||||
|
if [ -n "$DESKTOP_SESSION" ];then
|
||||||
|
eval $(gnome-keyring-daemon --start)
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
fi
|
||||||
|
|
||||||
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||||
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
||||||
fi
|
fi
|
||||||
|
|
19
.zshrc
19
.zshrc
|
@ -1,8 +1,3 @@
|
||||||
# Enable Powerlevel10k instant prompt.
|
|
||||||
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
|
|
||||||
|
|
||||||
# Set path
|
# Set path
|
||||||
export PATH=$HOME/flutter/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/.dotnet/tools:$HOME/.local/share/gem/ruby/3.0.0/bin:$HOME/.yarn/bin:$HOME/bin:/usr/local/bin:/var/lib/flatpak/exports/bin:$PATH
|
export PATH=$HOME/flutter/bin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/.dotnet/tools:$HOME/.local/share/gem/ruby/3.0.0/bin:$HOME/.yarn/bin:$HOME/bin:/usr/local/bin:/var/lib/flatpak/exports/bin:$PATH
|
||||||
|
|
||||||
|
@ -24,7 +19,7 @@ ENABLE_CORRECTION="true"
|
||||||
COMPLETION_WAITING_DOTS="true"
|
COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
plugins=(git yarn command-not-found history-substring-search zsh-autosuggestions nvm rust docker docker-compose dotnet zsh-syntax-highlighting)
|
plugins=(git yarn command-not-found zsh-history-substring-search zsh-autosuggestions nvm rust docker docker-compose dotnet zsh-syntax-highlighting)
|
||||||
|
|
||||||
# Plugin Configs
|
# Plugin Configs
|
||||||
export NVM_AUTOLOAD=1
|
export NVM_AUTOLOAD=1
|
||||||
|
@ -126,21 +121,9 @@ gitlog() {
|
||||||
setterm -linewrap on
|
setterm -linewrap on
|
||||||
}
|
}
|
||||||
|
|
||||||
# Flutter
|
|
||||||
export CHROME_EXECUTABLE=/usr/bin/google-chrome-stable
|
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
|
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
|
||||||
|
|
||||||
# Setup Gnome Keyring
|
|
||||||
if [ -n "$DESKTOP_SESSION" ];then
|
|
||||||
eval $(gnome-keyring-daemon --start)
|
|
||||||
export SSH_AUTH_SOCK
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set QT theme
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
|
|
||||||
# Load nvm
|
# Load nvm
|
||||||
source /usr/share/nvm/init-nvm.sh
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
|
||||||
|
|
Reference in a new issue