-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bashrc
39 lines (33 loc) · 904 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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#Checking if it's not a tty {{{
if [[ "$TERM" != "linux" ]]
then
#Vim promptline on bash
if [[ -f ~/.shell_prompt.sh ]]
then
source ~/.shell_prompt.sh
fi
fi #}}}
alias diff='diff --color=auto'
alias feh='feh -.'
alias gnome-control-center='XDG_CURRENT_DESKTOP=GNOME gnome-control-center'
alias grep='grep --colour'
alias ip='ip -c'
alias less='less -RN --incsearch'
alias ls='ls --color=auto'
alias mpv='mpv --hwdec=auto'
alias rsync='rsync --compress-choice=zstd --compress-level=3 --checksum-choice=xxh3'
alias tree='tree -C'
alias sysyadm='sudo yadm --yadm-dir /etc/yadm --yadm-data /etc/yadm/data'
alias watch='watch --color'
# System information
fastfetch --load-config neofetch.jsonc
#Fuzzy search
source /usr/share/fzf/key-bindings.bash
source /usr/share/fzf/completion.bash
# Tabsize
tabs -4