fix ncs by allowing bash to source the script
This commit is contained in:
@@ -1,27 +1,6 @@
|
||||
export EDITOR="vim";
|
||||
export PS1="\n[\[\e[37m\]\u\[\e[0m\]@\[\e[37;2m\]\h\[\e[0m\]] \[\e[1m\]\w \[\e[0;2m\]J:\[\e[0m\]\j\n\$ ";
|
||||
|
||||
# Commands that should be applied only for interactive shells.
|
||||
[[ $- == *i* ]] || return
|
||||
|
||||
HISTFILESIZE=100000
|
||||
HISTSIZE=10000
|
||||
|
||||
shopt -s histappend
|
||||
shopt -s checkwinsize
|
||||
shopt -s extglob
|
||||
shopt -s globstar
|
||||
shopt -s checkjobs
|
||||
|
||||
alias cat='bat'
|
||||
alias l='ls -alh'
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias ll='ls -lhi'
|
||||
alias ta='tmux attach'
|
||||
alias t='tmux'
|
||||
alias v='nvim'
|
||||
|
||||
extract() {
|
||||
if [ -f $1 ]; then
|
||||
case $1 in
|
||||
@@ -100,6 +79,27 @@ color2hex(){
|
||||
fi
|
||||
}
|
||||
|
||||
# Commands that should be applied only for interactive shells.
|
||||
[[ $- == *i* ]] || return
|
||||
|
||||
HISTFILESIZE=100000
|
||||
HISTSIZE=10000
|
||||
|
||||
shopt -s histappend
|
||||
shopt -s checkwinsize
|
||||
shopt -s extglob
|
||||
shopt -s globstar
|
||||
shopt -s checkjobs
|
||||
|
||||
alias cat='bat'
|
||||
alias l='ls -alh'
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias ll='ls -lhi'
|
||||
alias ta='tmux attach'
|
||||
alias t='tmux'
|
||||
alias v='nvim'
|
||||
|
||||
set completion-ignore-case On
|
||||
|
||||
export OFLAGS="--ozone-platform-hint=auto"
|
||||
|
||||
Reference in New Issue
Block a user