merge: main
This commit is contained in:
commit
4f5877dc51
@ -511,7 +511,7 @@
|
||||
|
||||
# Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as
|
||||
# it will signify error by turning red.
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR=false
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR=true
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=160
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘'
|
||||
|
||||
|
@ -29,10 +29,8 @@ alias xargs='xargs '
|
||||
|
||||
function j() {
|
||||
local dests=($(find . -maxdepth 5 -type d -path "*/$1" 2> /dev/null))
|
||||
#local dests=(**/"$1"/)
|
||||
local dest="$dests"
|
||||
local dest="${dests:-$1}"
|
||||
|
||||
[ -n "${dests[2]}" ] && dest="$(printf '%s\n' "${dests[@]}" | fzf)"
|
||||
ls -d "$dest"
|
||||
cd "$dest"
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
#compdef j
|
||||
|
||||
_arguments "1: :(**/"$1"/)"
|
||||
_arguments "1: :(**/"$1")"
|
||||
|
@ -1,6 +0,0 @@
|
||||
PROMPT='%(?::%{$fg_bold[red]%}%? )%{$fg_bold[cyan]%}%~%{$reset_color%} $(git_prompt_info)'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
@ -1 +1 @@
|
||||
Subproject commit c08b925d282e35ea7bd9a8f4c29de2ece0debb49
|
||||
Subproject commit fcbdc330ff50617c8b84d39ce069cc75df41108f
|
5
bin/am
5
bin/am
@ -51,11 +51,14 @@ while getopts a o; do
|
||||
done
|
||||
|
||||
while true; do
|
||||
#readarray -t LSBLK <<< "$(lsblk -n --paths | grep -v snap)"
|
||||
readarray -t LSBLK <<< "$(lsblk -n --paths --list | grep part)"
|
||||
|
||||
COLUMNS=1
|
||||
select dev in "${LSBLK[@]}"; do
|
||||
if [ -z "$dev" ]; then
|
||||
clear_output
|
||||
break
|
||||
fi
|
||||
name="$(cut -f1 -d' ' <<< "$dev")"
|
||||
|
||||
clear_output
|
||||
|
Loading…
Reference in New Issue
Block a user