-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
71 lines (55 loc) · 1.4 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
case $- in
*i*) ;;
*) return;;
esac
export OSH='/home/cicca/.oh-my-bash'
export DISABLE_OMF_STATS=true
# eval "$(starship init bash)"
DISABLE_AUTO_UPDATE="true"
COMPLETION_WAITING_DOTS="true"
function msdos_pwd
{
local dir="`pwd`"
echo $dir | tr '/' '\\'
}
PROMPT='C:`msdos_pwd`> '
echo
echo
echo "Microsoft(R) Windows 95"
echo " (C)Copyright Microsoft Corp 1981-1996."
echo
plugins=(
git
bashmarks
brew
)
aliases=(
general
)
export NVM_DIR="$HOME/.nvm"
[ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh"
[ -s "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm"
source "$OSH"/oh-my-bash.sh
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
alias bashconfig="mate ~/.bashrc"
alias ohmybash="mate ~/.oh-my-bash"
alias gitc="git commit -m $1"
alias gc="git commit -m $1"
alias gita="git add"
alias ga="git add"
alias gits="git status"
alias gs="git status"
alias gitch="git checkout"
alias gitchb="git checkout -b"
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
fi
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.local/bin:$PATH