summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/functions1
-rw-r--r--sh/profile3
2 files changed, 3 insertions, 1 deletions
diff --git a/sh/functions b/sh/functions
index e8515d8..d5ba7ca 100644
--- a/sh/functions
+++ b/sh/functions
@@ -176,6 +176,7 @@ zx - /home/zachir/Documents/zachir.xyz
"vsn") cd "$HOME/.vst/native" ;;
"vs.") cd "$HOME/.vst" ;;
"vsy") cd "$HOME/.vst/yabridge" ;;
+"vw") cd "$XDG_DATA_HOME/vimwiki" ;;
"wdo") cd "$WINEPREFIX/drive_c/users/$USER/Downloads" ;;
"wa") cd "$SRCDIR/wallpapers" ;;
"wd") cd "$WINEPREFIX" ;;
diff --git a/sh/profile b/sh/profile
index 068b6f1..0d9db72 100644
--- a/sh/profile
+++ b/sh/profile
@@ -2,7 +2,7 @@
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
-. "$HOME/.config/user-dirs.dirs"
+[ -f "$XDG_CONFIG_HOME/user-dirs.dirs" ] && . "$HOME/.config/user-dirs.dirs"
export XDG_CURRENT_DESKTOP="Hyprland"
export XDG_DOCUMENTS_DIR=${HOME}/Documents
export XDG_DOWNLOAD_DIR=${HOME}/Downloads
@@ -122,6 +122,7 @@ addtopath "$HOME/.local/bin/volsv"
addtopath "$HOME/.local/bin"
addtopath "$HOME/.local/bin/flatpak-sc"
addtopath "$HOME/.local/share/flatpak/exports/bin/"
+addtopath "/opt/homebrew/bin"
addtopath "$CARGO_HOME/bin"
addtopath "$GOPATH/bin"
addtopath "$ZVMPATH"