added pi
This commit is contained in:
+8
-2
@@ -1,3 +1,5 @@
|
||||
alias qk='pi --model kimi-k2.6:cloud -p'
|
||||
alias qm='pi --model minimax-m3:cloud -p'
|
||||
alias cl='clear'
|
||||
alias cld='clear && cd'
|
||||
alias neo='neofetch'
|
||||
@@ -8,6 +10,9 @@ alias oc='opencode'
|
||||
# colorscheme
|
||||
alias col='kitten themes'
|
||||
alias sc='~/scripts/theme-switch'
|
||||
alias cc='bash -c "$(wget -qO- https://git.io/vQgMr)"'
|
||||
|
||||
alias nup='sudo netbird up --setup-key F4098B17-55C2-447B-87C7-B75CAEFB4058'
|
||||
|
||||
# Scripts
|
||||
alias br='/home/liph/scripts/niri_br.sh'
|
||||
@@ -143,8 +148,9 @@ alias pyi='pyenv install'
|
||||
|
||||
# aria2 and yt-dlp
|
||||
alias aryt="yt-dlp --external-downloader aria2c --external-downloader-args '-x 8 -j2'" # add URL in ''
|
||||
alias aria='aria2c -x 8' # add URL in '' for 8 segmented download
|
||||
alias yd='yt-dlp' # copy link from videodownload helper and add the URL in ''
|
||||
alias arryt="yt-dlp --external-downloader aria2c --external-downloader-args '-x 16 -s 16 -k 1M'"
|
||||
alias aria='aria2c -x 8' # add URL in '' for 8 segmented download
|
||||
alias yd='yt-dlp' # copy link from videodownload helper and add the URL in ''
|
||||
|
||||
alias photodetect='gphoto2 --auto-detect'
|
||||
alias photoget='gphoto2 --get-all-files'
|
||||
|
||||
+1
-1
@@ -28,4 +28,4 @@ zinit snippet OMZP::kubectx
|
||||
zinit snippet OMZP::command-not-found
|
||||
zinit snippet OMZP::extract
|
||||
|
||||
zinit light jeffreytse/zsh-vi-mode
|
||||
# zinit light jeffreytse/zsh-vi-mode
|
||||
|
||||
+8
-10
@@ -1,6 +1,5 @@
|
||||
# Set the directory to store zinit and plugins
|
||||
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.locale/share}/zinit/zinit.git"
|
||||
|
||||
# Download Zinit if not present
|
||||
if [ ! -d "$ZINIT_HOME" ]; then
|
||||
mkdir -p "$(dirname $ZINIT_HOME)"
|
||||
@@ -14,17 +13,17 @@ source ~/.plugins.zsh
|
||||
source ~/.export.zsh
|
||||
|
||||
# Initialization settings for zsh-vi-mode
|
||||
ZVM_INIT_MODE=sourcing
|
||||
# ZVM_INIT_MODE=sourcing
|
||||
|
||||
# CONSOLIDATED FUNCTION: All zsh-vi-mode logic must be in one place [2]
|
||||
function zvm_after_init() {
|
||||
# Fix fzf interaction
|
||||
Fix fzf interaction
|
||||
source <(fzf --zsh)
|
||||
|
||||
|
||||
# Bind Atuin search for both Insert and Normal modes [9]
|
||||
zvm_bindkey viins '^R' atuin-search
|
||||
zvm_bindkey vicmd '^R' atuin-search
|
||||
|
||||
|
||||
# Re-bind autosuggest-accept
|
||||
bindkey '^@' autosuggest-accept
|
||||
}
|
||||
@@ -58,10 +57,10 @@ _fzf_comprun() {
|
||||
local command=$1
|
||||
shift
|
||||
case "$command" in
|
||||
cd) fzf --preview 'eza --tree --color=always {} | head -200' "$@" ;;
|
||||
export|unset) fzf --preview "eval 'echo \$' {}" "$@" ;;
|
||||
ssh) fzf --preview 'dig {}' "$@" ;;
|
||||
*) fzf --preview "--preview 'bat -n --color=always --line-range :10 {}'" "$@" ;;
|
||||
cd) fzf --preview 'eza --tree --color=always {} | head -200' "$@" ;;
|
||||
export | unset) fzf --preview "eval 'echo \$' {}" "$@" ;;
|
||||
ssh) fzf --preview 'dig {}' "$@" ;;
|
||||
*) fzf --preview "--preview 'bat -n --color=always --line-range :10 {}'" "$@" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
@@ -75,7 +74,6 @@ function y() {
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
|
||||
zinit ice depth=1
|
||||
# Zinit Annexes
|
||||
zinit light-mode for \
|
||||
|
||||
Reference in New Issue
Block a user