From 5d5faff131b0deb03b3e4db59234e212fd9de5f2 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 16 Aug 2024 15:26:48 +0200 Subject: [PATCH] addet oh-my-posh install script --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index cf4fc9f..413488b 100644 --- a/.bashrc +++ b/.bashrc @@ -214,9 +214,13 @@ _cli_qol_() { alias starwars="telnet -a telehack.com" fi + # ─< oh-my-posh >─────────────────────────────────────────────────────────────────────────── + # ─< oh-my-posh initialization >──────────────────────────────────────────────────────────── 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')" + else + curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/bin/ fi }