-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
36 lines (27 loc) · 912 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
# .bashrc
export TERM=linux
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
unset rc
eval "$(starship init bash)"
export EDITOR=nvim
alias nixmk='nix-channel --update && sudo nixos-rebuild switch'
alias ls='exa -l --icons --color=always --group-directories-first'
alias ll='exa -l --icons --color=always --group-directories-first'
alias la='exa -la --icons --color=always --group-directories-first'
alias ld='exa -D --icons --color=always --group-directories-first'
alias lg='exa --icons --color=always --group-directories-first'
alias lt='exa -T --icons --color=always --group-directories-first'
alias v='$EDITOR'
alias sv='sudo $EDITOR'
alias dw='cd ~/Downloads'
alias od='cd ~/OneDrive && ls'
alias ..='cd ..'
alias cl='clear'
alias push='~/scripts/gitpush.sh'
alias glone='~/scripts/gitclone.sh'
neofetch