merge: add safe directory to gitconfig
This commit is contained in:
commit
25ca2a8709
4 changed files with 24 additions and 5 deletions
7
.bash_logout
Normal file
7
.bash_logout
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
if [ "$SHLVL" = 1 ]; then
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
|
||||
fi
|
1
.bash_profile
Normal file
1
.bash_profile
Normal file
|
@ -0,0 +1 @@
|
|||
source ~/.bashrc
|
20
.bashrc
20
.bashrc
|
@ -100,9 +100,9 @@ fi
|
|||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
# . /etc/bash_completion
|
||||
#fi
|
||||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
# Rust/Cargo setup
|
||||
. "$HOME/.cargo/env"
|
||||
|
@ -117,5 +117,15 @@ export PATH="$HOME/nvim/bin:$PATH"
|
|||
# Theming
|
||||
export PS1="\[\e[36m\]$(date +'%H:%M:%S')\[\e[32m\]$USER \[\e[35m\]\w \[\e[31m\]$ "
|
||||
|
||||
# Path setting
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
# Homebrew (Linuxbrew) - Check if it exists first
|
||||
if [ -f /home/linuxbrew/.linuxbrew/bin/brew ]; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
|
||||
# thefuck
|
||||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
||||
# Path Setting - Make sure $HOME/bin exists and only add it once.
|
||||
if [ -d "$HOME/bin" ] && ! echo "$PATH" | grep -q "$HOME/bin"; then
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
autoSetupRemote = true
|
||||
[safe]
|
||||
directory = /appdata
|
||||
directory = /storage/emulated/0/Obsidian Vaults/second-brain
|
||||
[pull]
|
||||
rebase = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue