-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
53 lines (34 loc) · 1.27 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
# __ __
# .----.----|__.--------.-----.-----.-----.---.-| |_.-----. GitHub: https://github.com/RudraAsthana
# | __| _| | |__ --| _ | | _ | _| -__| Twitter: https://twitter.com/Crimsonate0
# |____|__| |__|__|__|__|_____|_____|__|__|___._|____|_____|
# Rust path
export PATH="$HOME/.cargo/env:$PATH"
# Ruby exports
export GEM_HOME=$HOME/gems
export PATH=$HOME/gems/bin:$PATH
# Deno exports
export DENO_INSTALL="/home/rudraasthana/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# mods
# terminal-prompt
eval "$(starship init bash)"
# aliases
# handy aliases
alias ls='exa -la'
alias ..='cd ..'
alias config='/usr/bin/git --git-dir=$HOME/DotFiles/ --work-tree=$HOME'
complete -F _complete_alias config
alias configu='config add -u'
alias gitu='git add -u'
#aliases to save me from doing dangerous stuff
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
# history
HISTCONTROL=ignoreboth
# mod s end
[ -f ~/.fzf.bash ] && source ~/.fzf.bash