diff options
| author | jason | 2023-09-08 22:51:52 -0600 |
|---|---|---|
| committer | jason | 2023-09-08 22:52:02 -0600 |
| commit | 6b586ad4c1d7ce421189dcd44633b770dec494c9 (patch) | |
| tree | 2c4108550cf820aa75ae1a047eaddaedbb367aaa /bash | |
| parent | 8248b352ca5edd27f02866095aee092b2adcc356 (diff) | |
| download | dotfiles-6b586ad4c1d7ce421189dcd44633b770dec494c9.tar.gz dotfiles-6b586ad4c1d7ce421189dcd44633b770dec494c9.zip | |
update xdg for freebsd
Diffstat (limited to 'bash')
| -rw-r--r-- | bash/.bashrc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 410cba8..0684e75 100644 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | # .bashrc | ||
| 2 | # | ||
| 3 | # note: this file is executed by interactive non-login shell | ||
| 4 | # if it needs to execute for login shells too (i.e. virtual | ||
| 5 | # tty) see .bash_profile. something like the following may | ||
| 6 | # work: test -f ~/.bashrc && . ~/.bashrc | ||
| 7 | |||
| 1 | LC_ALL="en_US.UTF-8" | 8 | LC_ALL="en_US.UTF-8" |
| 2 | # This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ | 9 | # This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ |
| 3 | PS1="[\u@\[\e[38;5;148m\]\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" | 10 | PS1="[\u@\[\e[38;5;148m\]\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" |
| @@ -11,7 +18,6 @@ PATH="${HOME}/bin:${HOME}/.local/bin:${PATH}" | |||
| 11 | # Linux | 18 | # Linux |
| 12 | OS_NAME=`uname` | 19 | OS_NAME=`uname` |
| 13 | 20 | ||
| 14 | |||
| 15 | # Disable bash deprecation warning on OS X | 21 | # Disable bash deprecation warning on OS X |
| 16 | export BASH_SILENCE_DEPRECATION_WARNING=1 | 22 | export BASH_SILENCE_DEPRECATION_WARNING=1 |
| 17 | 23 | ||
| @@ -175,6 +181,9 @@ fi | |||
| 175 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ | 181 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ |
| 176 | source /usr/local/share/bash-completion/bash_completion.sh | 182 | source /usr/local/share/bash-completion/bash_completion.sh |
| 177 | 183 | ||
| 184 | if [[ $OS_NAME == "FreeBSD" ]]; then | ||
| 185 | export XDG_RUNTIME_DIR=/var/run/user/`id -u` | ||
| 186 | fi | ||
| 178 | ####### | 187 | ####### |
| 179 | 188 | ||
| 180 | # FZF | 189 | # FZF |