summaryrefslogtreecommitdiff
path: root/files/shell
diff options
context:
space:
mode:
Diffstat (limited to 'files/shell')
-rw-r--r--files/shell/bashrc6
-rw-r--r--files/shell/profile2
2 files changed, 2 insertions, 6 deletions
diff --git a/files/shell/bashrc b/files/shell/bashrc
index df595d0..a5a4000 100644
--- a/files/shell/bashrc
+++ b/files/shell/bashrc
@@ -2,11 +2,7 @@ source ~/.profile
gpgconf --launch gpg-agent
-if [ -v $NIX_SHELL ]; then
- complete -cf doas
-else
- complete -F _root_command doas
-fi
+complete -F _root_command doas
export HISTCONTROL=erasedups
export HISTFILE=$HOME/.bash_history
diff --git a/files/shell/profile b/files/shell/profile
index 66b20a7..f4cd2f2 100644
--- a/files/shell/profile
+++ b/files/shell/profile
@@ -4,10 +4,10 @@ unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
+export PYTHON_HISTORY=/tmp/python_history
# Why aren't these set? elogind?
# https://wiki.gentoo.org/wiki/Configuring_a_system_without_elogind
export XDG_CACHE_HOME="/mnt/ssd/cache"
#export XDG_CONFIG_HOME="${HOME}/.config"
#export XDG_DATA_HOME="${HOME}/.local/share"
#export XDG_STATE_HOME="${HOME}/.local/state"
-#export MAIN_MONITOR=DP-2