-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
51 lines (45 loc) · 1.31 KB
/
.bashrc
File metadata and controls
51 lines (45 loc) · 1.31 KB
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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Aliases
bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'
alias ls="eza --icons"
alias ll="eza --long --icons -a"
alias lz="eza --long --icons -a --total-size"
HISTFILESIZE=5000
HISTSIZE=5000
HISTFILE=~/.bash_history
HISTCONTROL=ignoredups
eval "$(jump shell --bind=z)"
eval "$(starship init bash)"
# fnm
FNM_PATH="/home/milianor/.local/share/fnm"
if [ -d "$FNM_PATH" ]; then
export PATH="$FNM_PATH:$PATH"
eval "$(fnm env)"
fi
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/develop/flutter/bin:$PATH"
export PATH="$HOME/develop/spring-boot-cli/bin:$PATH"
export PATH="$HOME/Android/Sdk/platform-tools:$PATH"
export EDITOR=nvim
export ZETPATH="$(xdg-user-dir DOCUMENTS)/Obsidian Vault/"
export ZETPATH_NOTES="$(xdg-user-dir DOCUMENTS)/Obsidian Vault/Notes/"
declare -a cmps=(
"https://raw.githubusercontent.com/ohmybash/oh-my-bash/refs/heads/master/completions/go.completion.sh"
)
function wgetcomp {
if [[ ! -f "$HOME"/.cache/bash/completions/"$1" ]]; then
wget --directory-prefix="$HOME/.cache/bash/completions" "$2"
fi
}
export -f wgetcomp
parallel wgetcomp {/} {} ::: "${cmps[@]}"
for comp in "$HOME"/.cache/bash/completions/*; do
source "$comp"
done
. "$HOME/.cargo/env"