addet oh-my-posh install script
This commit is contained in:
parent
f83ed54b48
commit
5d5faff131
1 changed files with 4 additions and 0 deletions
4
.bashrc
4
.bashrc
|
@ -214,9 +214,13 @@ _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')"
|
||||||
|
else
|
||||||
|
curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/bin/
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue