-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmin.bashrc.sh
56 lines (42 loc) · 1.29 KB
/
min.bashrc.sh
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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# default prompth
PS1='[\u@\h \W]\$ '
# personal pref
# ZINAT
alias nano='vi'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ll='ls -lah'
alias p='python'
alias cp='rsync --progress'
alias nv='nvim'
# fzf sa horizonatalnom podelom
alias dai='fzf --preview "batcat --style=numbers --color=always --line-range :500 {}" --preview-window=up:50%:wrap --bind "enter:execute(nvim {})"'
# fzf sa vertikalnom podelom
alias daj='fzf --preview "batcat --style=numbers --color=always --line-range :500 {}" --bind "enter:execute(nvim {})"'
# default editor
export VISUAL=vim;
export EDITOR=vim;
# man page color scheme
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'
# rice
neofetch
# command timer on the right side of terminal prompth
source /home/arch/other/bash-command-timer/bash_command_timer.sh
# powerline prompth daemon
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
# coloring and autosugestion in bash
source ~/.local/share/blesh/ble.sh