Improve autoinstall
This commit is contained in:
parent
b5764c0376
commit
57cd02890a
8 changed files with 92 additions and 187 deletions
15
.bashrc
15
.bashrc
|
@ -8,12 +8,13 @@ then
|
|||
exit
|
||||
fi
|
||||
|
||||
autoinstall-packages
|
||||
autoinstall all
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-bash is loaded.
|
||||
OSH_THEME="brainy"
|
||||
[ -x "$(command -v starship)" ] && ZSH_THEME=""
|
||||
# shellcheck disable=SC2034
|
||||
[ -x "$(command -v starship)" ] && OSH_THEME=""
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
@ -32,9 +33,11 @@ OSH_THEME="brainy"
|
|||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# shellcheck disable=SC2034
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# shellcheck disable=SC2034
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
|
@ -48,6 +51,7 @@ ENABLE_CORRECTION="true"
|
|||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# shellcheck disable=SC2034
|
||||
HIST_STAMPS="yyyy-mm-dd"
|
||||
|
||||
# Would you like to use another custom folder than $OSH/custom?
|
||||
|
@ -57,6 +61,7 @@ HIST_STAMPS="yyyy-mm-dd"
|
|||
# Custom completions may be added to ~/.oh-my-bash/custom/completions/
|
||||
# Example format: completions=(ssh git bundler gem pip pip3)
|
||||
# Add wisely, as too many completions slow down shell startup.
|
||||
# shellcheck disable=SC2034
|
||||
completions=(
|
||||
git
|
||||
composer
|
||||
|
@ -67,6 +72,7 @@ completions=(
|
|||
# Custom aliases may be added to ~/.oh-my-bash/custom/aliases/
|
||||
# Example format: aliases=(vagrant composer git-avh)
|
||||
# Add wisely, as too many aliases slow down shell startup.
|
||||
# shellcheck disable=SC2034
|
||||
aliases=(
|
||||
)
|
||||
|
||||
|
@ -74,11 +80,12 @@ aliases=(
|
|||
# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
# shellcheck disable=SC2034
|
||||
plugins=(
|
||||
git
|
||||
)
|
||||
|
||||
source $OSH/oh-my-bash.sh
|
||||
source "$OSH/oh-my-bash.sh"
|
||||
|
||||
HISTCONTROL=ignoreboth
|
||||
export SAVEHIST=1000000
|
||||
|
@ -91,6 +98,6 @@ shopt -s checkwinsize
|
|||
source "$HOME/.config/environment"
|
||||
source "$HOME/.config/completionsrc"
|
||||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
|
||||
[ -x "$(command -v thefuck)" ] && eval $(thefuck --alias)
|
||||
[ -x "$(command -v thefuck)" ] && eval "$(thefuck --alias)"
|
||||
|
||||
[ -x "$(command -v starship)" ] && eval "$(starship init bash)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue