blob: 49550ac00f211b46ef7adc663cc301bf588863f0 (
plain) (
blame)
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
|
# Export own script path
export PATH=$HOME/.dotfiles/bin/:/usr/local/bin/:$PATH
export GOPATH=$HOME/.go
export EDITOR='nvim'
export MANPAGER='nvim +Man!'
# Aliases
alias ls='ls --color=auto'
alias la='ls -lav --ignore=..'
alias vim="nvim"
alias lg="lazygit"
alias pgl="pass git pull"
alias pgs="pass git push"
alias swconf="nvim ~/.config/sway/config"
alias sandisk="sudo mount /dev/sda1 /mnt/sandisk && cd /mnt/sandisk/"
alias :q="exit"
alias ..="cd .."
alias v="vim"
alias reload-gpg="gpg-connect-agent reloadagent /bye"
# Arrow bindings
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
# Start programs
eval "$(starship init bash)"
eval "$(zoxide init --cmd='cd' bash)"
if [[ -f ~/.bash-preexec.sh ]]; then
source ~/.bash-preexec.sh
eval "$(atuin init bash)"
fi
|