addet has
This commit is contained in:
parent
1ac30d8d83
commit
7888e63f27
1 changed files with 8 additions and 3 deletions
11
.bashrc
11
.bashrc
|
@ -19,7 +19,6 @@ _defaults_() {
|
||||||
set -o emacs
|
set -o emacs
|
||||||
# set -o vim
|
# set -o vim
|
||||||
|
|
||||||
|
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
# See bash(1) for more options
|
# See bash(1) for more options
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
|
@ -211,8 +210,6 @@ _cli_qol_() {
|
||||||
alias starwars="telnet -a telehack.com"
|
alias starwars="telnet -a telehack.com"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
|
||||||
|
|
||||||
# ─< oh-my-posh initialization >────────────────────────────────────────────────────────────
|
# ─< oh-my-posh initialization >────────────────────────────────────────────────────────────
|
||||||
if command_exists oh-my-posh; then
|
if command_exists oh-my-posh; then
|
||||||
# eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')"
|
# eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/amro.omp.json')"
|
||||||
|
@ -222,6 +219,14 @@ _cli_qol_() {
|
||||||
curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/bin/
|
curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/bin/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! command_exists has; then
|
||||||
|
$(git clone https://github.com/kdabir/has.git && cd has && sudo make install)
|
||||||
|
else
|
||||||
|
tools(){
|
||||||
|
local pkgs="bash git curl nvim stow make npm php"
|
||||||
|
has $pkgs
|
||||||
|
}
|
||||||
|
fi
|
||||||
[[ -f $HOME/.local/share/blesh/ble.sh ]] && . $HOME/.local/share/blesh/ble.sh
|
[[ -f $HOME/.local/share/blesh/ble.sh ]] && . $HOME/.local/share/blesh/ble.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue