about summary refs log tree commit diff
path: root/configs/shared/shell/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/shell/.profile')
-rw-r--r--configs/shared/shell/.profile22
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/shared/shell/.profile b/configs/shared/shell/.profile
new file mode 100644
index 000000000000..e94dd20db6fd
--- /dev/null
+++ b/configs/shared/shell/.profile
@@ -0,0 +1,22 @@
+# Some programs read from ~/.profile for values. It's best to set environment
+# variables here instead of in ~/.zshrc or similar files, which are sourced
+# everytime a new shell is created. The ~/.profile, on the other hand, is
+# typically sourced only once at login.
+
+PATH="$PATH:$HOME/bin"
+
+# Application preferences
+export BROWSER=google-chrome
+export TERMINAL=st
+export EDITOR=emacsclient
+export ALTERNATE_EDITOR=nvim
+
+# Application configuration
+export FZF_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"'
+export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
+
+export DOTFILES="$HOME/Dropbox/dotfiles"
+export ORG_DIRECTORY="$HOME/Dropbox/org"
+
+# Set environment variables for Nix
+source ~/.nix-profile/etc/profile.d/nix.sh