summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2022-08-30 14:39:12 -0500
committerMitsuo Tokumori <[email protected]>2022-08-30 14:39:12 -0500
commit1d5c98f16b7e7d06578e40306de556854b82e45c (patch)
treebfce67dc1d6718b9b9bc451a1e9f5033453a0db5
parent19746029313c650855fedc868cdc285dc3dfe440 (diff)
downloaddotfiles-1d5c98f16b7e7d06578e40306de556854b82e45c.tar.gz
dotfiles-1d5c98f16b7e7d06578e40306de556854b82e45c.tar.bz2
dotfiles-1d5c98f16b7e7d06578e40306de556854b82e45c.zip
Comment Rust env. var. Uncomment git-prompt.sh
-rw-r--r--bashrc4
-rw-r--r--profile4
2 files changed, 2 insertions, 6 deletions
diff --git a/bashrc b/bashrc
index e8c0181..4498d4c 100644
--- a/bashrc
+++ b/bashrc
@@ -124,7 +124,7 @@ fi
#PS1='\[\033[34m\]|\D{%H:%M:%S}| \[\033[3;32m\][\w]\[\033[00m\]\n\$ '
# If error `-bash: __git_ps1: command not found`, uncomment the following line
# Ref.: https://stackoverflow.com/a/15398153/7498073
-#source ~/.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$ '
# Environmental variables:
@@ -168,4 +168,4 @@ fi
export NODE_PATH=~/code/nodejs/node-v16.15.1-linux-x64/lib/node_modules
# Rust
-. "$HOME/.cargo/env"
+#. "$HOME/.cargo/env"
diff --git a/profile b/profile
index 34a9fa6..8990d54 100644
--- a/profile
+++ b/profile
@@ -24,7 +24,6 @@ fi
-
# Variables
# ======================================================================
@@ -40,9 +39,6 @@ export XDG_DATA_HOME="$HOME/.local/share"
export EDITOR=vim
-# Rust
-. "$HOME/.cargo/env"
-
# Fun
# ======================================================================