feat(shell): preserve active user workflow
This commit is contained in:
parent
72c663f719
commit
1f3438624e
2 changed files with 25 additions and 7 deletions
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
## which search mode to use
|
## which search mode to use
|
||||||
## possible values: prefix, fulltext, fuzzy, skim
|
## possible values: prefix, fulltext, fuzzy, skim
|
||||||
# search_mode = "fuzzy"
|
search_mode = "prefix"
|
||||||
|
|
||||||
## which filter mode to use by default
|
## which filter mode to use by default
|
||||||
## possible values: "global", "host", "session", "session-preload", "directory", "workspace"
|
## possible values: "global", "host", "session", "session-preload", "directory", "workspace"
|
||||||
|
|
@ -67,7 +67,7 @@ filter_mode = "global"
|
||||||
## which search mode to use when atuin is invoked from a shell up-key binding
|
## which search mode to use when atuin is invoked from a shell up-key binding
|
||||||
## the accepted values are identical to those of "search_mode"
|
## the accepted values are identical to those of "search_mode"
|
||||||
## leave unspecified to use same mode set in "search_mode"
|
## leave unspecified to use same mode set in "search_mode"
|
||||||
# search_mode_shell_up_key_binding = "fuzzy"
|
search_mode_shell_up_key_binding = "prefix"
|
||||||
|
|
||||||
## which style to use
|
## which style to use
|
||||||
## possible values: auto, full, compact
|
## possible values: auto, full, compact
|
||||||
|
|
|
||||||
28
zsh/.zshrc
28
zsh/.zshrc
|
|
@ -10,6 +10,7 @@
|
||||||
# =========================
|
# =========================
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
export PATH="$HOME/.local/npm/bin:$PATH"
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export HISTFILE="$HOME/.zsh_history"
|
export HISTFILE="$HOME/.zsh_history"
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=10000
|
||||||
|
|
@ -158,7 +159,6 @@ gc() {
|
||||||
git commit -m "$msg"
|
git commit -m "$msg"
|
||||||
}
|
}
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gwiki='git add ~/.dotfiles/wiki/Wiki/ && gc && gp && ga && gc && gp'
|
|
||||||
alias gl='git log --oneline --graph --decorate'
|
alias gl='git log --oneline --graph --decorate'
|
||||||
gpall() {
|
gpall() {
|
||||||
local branch
|
local branch
|
||||||
|
|
@ -380,6 +380,16 @@ andromount() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# =========================
|
||||||
|
# Android
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
alias codex-dev='systemd-inhibit --what=sleep:idle --who="codex-dev" --why="Codex development session" --mode=block codex --sandbox workspace-write --ask-for-approval never'
|
||||||
|
alias codex-hw='systemd-inhibit --what=sleep:idle --who="codex-hw" --why="Codex hardware/Vulkan session" --mode=block codex --sandbox danger-full-access --ask-for-approval never'
|
||||||
|
alias codex-luna='codex -m gpt-5.6-luna -c model_reasoning_effort=\"low\"'
|
||||||
|
alias codex-terra='codex -m gpt-5.6-terra -c model_reasoning_effort=\"medium\"'
|
||||||
|
alias codex-sol='codex -m gpt-5.6-sol -c model_reasoning_effort=\"low\"'
|
||||||
|
|
||||||
androumount() {
|
androumount() {
|
||||||
local mp="${1:-$HOME/android}"
|
local mp="${1:-$HOME/android}"
|
||||||
fusermount -u "$mp" && echo "Android démonté de $mp"
|
fusermount -u "$mp" && echo "Android démonté de $mp"
|
||||||
|
|
@ -395,11 +405,19 @@ export LESS_TERMCAP_so=$'\e[1;44;33m' # standout (titres encadrés)
|
||||||
export LESS_TERMCAP_ue=$'\e[0m' # reset underline
|
export LESS_TERMCAP_ue=$'\e[0m' # reset underline
|
||||||
export LESS_TERMCAP_us=$'\e[1;32m' # underline
|
export LESS_TERMCAP_us=$'\e[1;32m' # underline
|
||||||
|
|
||||||
# Outils OSINT locaux Labfy
|
|
||||||
export PATH="$HOME/.local/share/labfy-osint/bin:$PATH"
|
|
||||||
|
|
||||||
|
|
||||||
# Added by Antigravity CLI installer
|
# Added by Antigravity CLI installer
|
||||||
export PATH="/home/fy59/.local/bin:$PATH"
|
export PATH="/home/fy59/.local/bin:$PATH"
|
||||||
|
|
||||||
export OPENCODE_ENABLE_EXA=1
|
export OPENCODE_ENABLE_EXA=1
|
||||||
|
export OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=true
|
||||||
|
|
||||||
|
alias ocaway="$HOME/.local/bin/opencode-away"
|
||||||
|
|
||||||
|
# Goose — bornes agentiques
|
||||||
|
export GOOSE_MAX_TURNS=80
|
||||||
|
export GOOSE_SUBAGENT_MAX_TURNS=12
|
||||||
|
export GOOSE_MAX_BACKGROUND_TASKS=2
|
||||||
|
|
||||||
|
# Android SDK
|
||||||
|
export ANDROID_HOME="$HOME/Android/Sdk"
|
||||||
|
export PATH="$PATH:$ANDROID_HOME/platform-tools"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue