Compare commits
No commits in common. "95814eb86b1e9277fe1a96b792928311b56852b5" and "1b3cb98eee66d01f7d60f81d0d7f94a6cd99b356" have entirely different histories.
95814eb86b
...
1b3cb98eee
@ -1,15 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# icky, but necessary since this might inject the needed XDG vars
|
# icky, but necessary since this might inject the needed XDG vars
|
||||||
. "$HOME/.config/environment.local" 2>/dev/null
|
. "$HOME/.config/environment.local" 2>/dev/null
|
||||||
. "$XDG_DATA_HOME/cargo/env" 2>/dev/null
|
. "$XDG_DATA_HOME/cargo/env" 2>/dev/null
|
||||||
|
|
||||||
# set to defaults if any of these are unset
|
|
||||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
|
||||||
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
|
||||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
|
||||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
|
||||||
|
|
||||||
# runit
|
# runit
|
||||||
export SVDIR="$XDG_STATE_HOME"/service
|
export SVDIR="$XDG_STATE_HOME"/service
|
||||||
|
|
||||||
|
@ -33,12 +33,6 @@ zstyle ':vcs_info:*' formats ' %F{green}%b'
|
|||||||
PROMPT='%F{yellow}%n@%m %F{white}%1~%(?.. %?) $ '
|
PROMPT='%F{yellow}%n@%m %F{white}%1~%(?.. %?) $ '
|
||||||
RPROMPT='%f$vcs_info_msg_0_ '
|
RPROMPT='%f$vcs_info_msg_0_ '
|
||||||
|
|
||||||
# Detect if we're in a schroot and modify prompt accordingly
|
|
||||||
if [[ -n "$SCHROOT_CHROOT_NAME" ]]; then
|
|
||||||
# We're in a schroot - add [chroot:name] to the prompt
|
|
||||||
PS1="[chroot:$SCHROOT_CHROOT_NAME] $PS1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
alias boinctui='boinctui --boinchost=localhost'
|
alias boinctui='boinctui --boinchost=localhost'
|
||||||
alias bt='bluetoothctl'
|
alias bt='bluetoothctl'
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
|
Loading…
Reference in New Issue
Block a user