-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
41 lines (28 loc) · 833 Bytes
/
.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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
HISTSIZE=10000
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias k='kubectl'
# Enable kubectl autocompletion
source <(kubectl completion bash)
# Enable autocompletion for the k alias
complete -F __start_kubectl k
docker() {
sudo docker "$@"
}
# Allow terminal windows to resize
shopt -s checkwinsize
# Lookup unknown commands in package manager
source /usr/share/doc/pkgfile/command-not-found.bash
# Set up nvm to manage node versions
source /usr/share/nvm/init-nvm.sh
# Because we use a 3 line long bash prompt we need to shorten `less` output
export LESS_LINES=-2
# Use a custom bash prompt
eval "$(starship init bash)"
# Created by `pipx` on 2025-01-07 23:17:39
export PATH="$PATH:/home/blyedev/.local/bin"