aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/.bashrc18
-rw-r--r--sway/.config/sway/config2
2 files changed, 7 insertions, 13 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index a4c9d6f..d9d876e 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -27,10 +27,10 @@ fi
27export SAM_CLI_TELEMETRY=0 27export SAM_CLI_TELEMETRY=0
28 28
29# Enable starship if possible 29# Enable starship if possible
30STARSHIP=`which starship 2> /dev/null` 30#STARSHIP=`which starship 2> /dev/null`
31if [ -x "$STARSHIP" ]; then 31#if [ -x "$STARSHIP" ]; then
32 eval "$(starship init bash)" 32# eval "$(starship init bash)"
33fi 33#fi
34 34
35# Enable flutter 35# Enable flutter
36if [ -d "$HOME/bin/flutter/" ]; then 36if [ -d "$HOME/bin/flutter/" ]; then
@@ -220,14 +220,8 @@ if [ -f /etc/bash_completion ]; then
220fi 220fi
221 221
222## Void 222## Void
223if [ -d /usr/share/bash-completion/completions ]; then 223[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] &&
224 for c in $(ls -1 /usr/share/bash-completion/completions/); 224 . /usr/share/bash-completion/bash_completion
225 do
226 # grub's completion uses a deprecated `have`
227 [ "$c" == "grub" ] && continue
228 . /usr/share/bash-completion/completions/$c
229 done
230fi
231 225
232## FreeBSD 226## FreeBSD
233[[ -n $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ 227[[ -n $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index f107b3b..09a89f9 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -20,7 +20,7 @@ set $right l
20set $term foot 20set $term foot
21 21
22# The built-in laptop screen. Used for clam shell and scaling 22# The built-in laptop screen. Used for clam shell and scaling
23set $laptop_screen eDP-2 23set $laptop_screen eDP-1
24 24
25# Define the command to sleep 25# Define the command to sleep
26set $cmd_sleep loginctl suspend 26set $cmd_sleep loginctl suspend