-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
executable file
·29 lines (23 loc) · 813 Bytes
/
.bashrc
File metadata and controls
executable file
·29 lines (23 loc) · 813 Bytes
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
export EDITOR="vim"
export HISTSIZE=5000
# Enable timestamps for history
export HISTTIMEFORMAT="%FT%T%z "
# To sync history across sessions
export PROMPT_COMMAND="history -a; history -c; history -r"
export XDG_CONFIG_HOME="$HOME/.config"
if command -v exa &> /dev/null
then
alias ll='exa --long --group --header --group-directories-first'
alias la='exa --long --group --header --group-directories-first --all'
fi
if command -v nvim &> /dev/null
then
alias vim="nvim"
fi
alias ssh-dev-env="ssh -o StrictHostKeyChecking=no -o \"UserKnownHostsFile /dev/null\""
alias sftp-dev-env="sftp -o StrictHostKeyChecking=no -o \"UserKnownHostsFile /dev/null\""
alias vimdiff='vim -d'
alias alertme="echo -e \"\\a\""
bind 'set show-all-if-ambiguous on'
bind 'set completion-ignore-case on'
bind 'TAB:menu-complete'