-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
30 lines (24 loc) · 805 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
#
#- ~/.bashrc
#
# shellcheck disable=SC2016,SC2064,SC1094
#[[ $- == *i* ]] && source "${HOME}/.local/share/blesh/ble.sh" --noattach
# Add this line at the end of .bashrc:
#-If not running interactively, don't do anything
[[ $- != *i* ]] && return
stty -ixon #- Prevent <Ctrl-s> from being binded by terminal -#
set -o vi #- Use VI Keys -#
umask 077 #- Default Permissions -#
#- Default PS0,PS1,PS3 if mps() doesn't run -#
PS0='\e[0 q\[\e[0m\]'
PS1=':\w/:> '
PS2=''
#export PROMPT_COMMAND='history -a'
source "${HOME}/bashrc_files/exports.sh"
source "${HOME}/bashrc_files/functions.sh"
source "${HOME}/bashrc_files/aliases.sh"
source "${HOME}/.config/broot/launcher/bash/br"
mps 'r' #setting PS1
#------------------BASH-HISTORY--------#
shopt -s histappend
#[[ ${BLE_VERSION-} ]] && ble-attach