-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bashrc
66 lines (45 loc) · 1.07 KB
/
dot_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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export TERM=xterm-256color
export PAGER=bat
export VISUAL=nvim
export EDITOR=nvim
alias vim='nvim'
alias vi='nvim'
alias ls='eza --color=auto'
alias la='eza -Ah --color=auto'
alias ll='eza -lh --color=auto'
alias l='eza -lAh --color=auto'
#alias find='fd'
alias ps='procs'
alias cat='bat'
alias cd='z'
alias du='dust'
alias bc='eva'
# Replace grep with ripgrep
alias grep='rg --color=auto'
alias grep='rg --color=auto'
alias h='history'
alias gh='history|grep'
alias q='exit'
alias c='clear'
# Forces tmux to assume the terminal supports 256 colors
#alias tmux='tmux -2'
alias t='tmux'
alias cta='cat'
alias gerp='grep'
alias sl='ls'
# Import colorscheme from 'wal' asynchronously
# & # Run the process in the background.
# ( ) # Hide shell job control messages.
# Not supported in the "fish" shell.
#(cat ~/.cache/wal/sequences &)
# Use Starship prompt
eval "$(starship init bash)"
# Use zoxide as replacement for cd
eval "$(zoxide init bash)"
# Fetch system info
pfetch | lolcat