summaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-08-27 20:02:50 -0500
committerMitsuo Tokumori <[email protected]>2023-08-27 20:02:50 -0500
commitc9a4cd96768e1921c0576b09b2ff928a9a223b07 (patch)
treefd8a43dab96c371bb37d678f60b118d22390df48 /bash
parentb9ed958ac39ea5d920e34b12af00837928f7882f (diff)
downloaddotfiles-c9a4cd96768e1921c0576b09b2ff928a9a223b07.tar.gz
dotfiles-c9a4cd96768e1921c0576b09b2ff928a9a223b07.tar.bz2
dotfiles-c9a4cd96768e1921c0576b09b2ff928a9a223b07.zip
Fix bugs (editor and git-prompt path)
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 9306396..d3216d2 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -37,6 +37,7 @@ shopt -s checkwinsize
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Alias definitions.
+export EDITOR=nvim
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
@@ -60,7 +61,7 @@ stty -ixon
# - user@host pwd (git prompt)
# Ref.: https://stackoverflow.com/a/15398153/7498073
-source ~/mahcode/dotfiles/git/git-prompt.sh
+source ~/.git-prompt.sh
PS1='\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ '
@@ -69,7 +70,6 @@ PS1='\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1
# FIXME: This is executed twice. One just after login (first bash) in tty. And
# again then again in the terminal emulator.
-export EDITOR=nvim
PATH="$HOME/.local/bin:$PATH"
PATH="$HOME/mahcode/bin:$PATH"
PATH="$HOME/code/tex-live-native/build/bin/x86_64-linux:$PATH"