summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-01-04 18:43:17 +0200
committerThanos Apollo <[email protected]>2023-01-04 18:43:17 +0200
commit773bd263bbb65e656a6184e8fe7e653399ae07ba (patch)
treef97c9c140e7abbd0c5792caeef431fa29b35a45e
parentbe22b8703692085d947569cd2d2af13f24e3c762 (diff)
update bash, add fanki alias
-rw-r--r--.bashrc5
-rw-r--r--.shells/alias4
-rw-r--r--.shells/prompt1
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
+