aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/.profile17
-rw-r--r--shell/zsh/.zshrc2
2 files changed, 18 insertions, 1 deletions
diff --git a/shell/.profile b/shell/.profile
index a3a427d..eda4c94 100644
--- a/shell/.profile
+++ b/shell/.profile
@@ -1,3 +1,13 @@
+
+prepend_path () {
+ case ":$PATH:" in
+ *:"$1":*)
+ ;;
+ *)
+ PATH="$1${PATH:+:$PATH}"
+ esac
+}
+
# export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
# export CHICKEN_REPOSITORY=~/programs/chicken_repository
# export GDK_BACKEND=wayland
@@ -8,6 +18,11 @@
# export SDL_VIDEODRIVER=wayland
# export SWEETHOME3D_JAVA3D=1.6
# export WLR_DRM_NO_MODIFIERS=1
-export PATH=~/bin:~/opt/python39/bin:~/opt/janet/bin:$PATH
+export EDITOR=nvim
export QT_QPA_PLATFORMTHEME=qt5ct
export VISUAL=nvim
+
+prepend_path ~/opt/janet/bin
+prepend_path ~/opt/python310/bin
+prepend_path ~/bin
+export PATH
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 0b133b8..25c8552 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -2,6 +2,8 @@ HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
+export GPG_TTY=$(tty)
+
bindkey -v
autoload -Uz compinit