From 773bd263bbb65e656a6184e8fe7e653399ae07ba Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 4 Jan 2023 18:43:17 +0200 Subject: update bash, add fanki alias --- .bashrc | 5 +++-- .shells/alias | 4 +++- .shells/prompt | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 12c4bbd..8b97994 100644 --- a/.bashrc +++ b/.bashrc @@ -7,6 +7,7 @@ source ~/.shells/alias source ~/.shells/exports -source ~/.shells/prompt +#source ~/.shells/prompt + +PS1='\n\[\e[0m\][\[\e[0;1;38;5;208m\]\w\[\e[0;2;38;5;248m\]|\[\e[0;2;38;5;220m\]$(git branch 2>/dev/null | grep '"'"'^*'"'"' | colrm 1 2) \[\e[0;2;38;5;242m\]\t\[\e[0m\]]\n\[\e[0m\]-\[\e[0m\]> \[\e[0m\]' -# PS1='\n\[\e[0m\][\[\e[0;1;38;5;208m\]\w\[\e[0;2;38;5;248m\]|\[\e[0;2;38;5;220m\]$(git branch 2>/dev/null | grep '"'"'^*'"'"' | colrm 1 2) \[\e[0;2;38;5;242m\]\t\[\e[0m\]]\n\[\e[0m\]-\[\e[0m\]> \[\e[0m\] diff --git a/.shells/alias b/.shells/alias index 901e81d..93c0b39 100644 --- a/.shells/alias +++ b/.shells/alias @@ -26,7 +26,6 @@ alias yeet='paru -Rsc' # weather alias weather="curl wttr.in" -#aliases alias ls='ls -la --color=auto' alias sb='sudo systemctl start bluetooth' alias mykeys='setxkbmap -option caps:escape' @@ -42,3 +41,6 @@ alias klight="brightnessctl --device='tpacpi::kbd_backlight' set 1" ##yarn alias sweb='BROWSER="firefox" yarn start' + +##flatpaks +alias fanki='flatpak run net.ankiweb.Anki' diff --git a/.shells/prompt b/.shells/prompt index b7b8342..d919457 100644 --- a/.shells/prompt +++ b/.shells/prompt @@ -11,3 +11,4 @@ # PS1='\u@\h \w\$ ' # fi + -- cgit v1.2.3