This commit is contained in:
DeveloperDurp 2025-01-26 12:30:50 -06:00
parent dd2a5c6794
commit e98a9de004
6 changed files with 21 additions and 19 deletions

View file

@ -1,5 +1,6 @@
[ [
"io.gitlab.librewolf-community", "io.gitlab.librewolf-community",
"kitty", "com.system76.CosmicTerm",
"com.mitchellh.ghostty",
"com.system76.CosmicFiles", "com.system76.CosmicFiles",
] ]

View file

@ -1 +1 @@
"power" "window-management"

View file

@ -1 +1 @@
"FiraCode Nerd Font Mono" "GoMono Nerd Font"

29
.zshrc
View file

@ -82,20 +82,21 @@ zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab zinit light Aloxaf/fzf-tab
zinit wait lucid for OMZP::{'git','sudo','archlinux','aws','kubectl','kubectx','command-not-found','web-search','jsontools','copypath','copyfile','copybuffer','dirhistory'}
# Add in snippets # Add in snippets
zinit snippet OMZP::git #zinit snippet OMZP::git
zinit snippet OMZP::sudo #zinit snippet OMZP::sudo
zinit snippet OMZP::archlinux #zinit snippet OMZP::archlinux
zinit snippet OMZP::aws #zinit snippet OMZP::aws
zinit snippet OMZP::kubectl #zinit snippet OMZP::kubectl
zinit snippet OMZP::kubectx #zinit snippet OMZP::kubectx
zinit snippet OMZP::command-not-found #zinit snippet OMZP::command-not-found
zinit snippet OMZP::web-search #zinit snippet OMZP::web-search
zinit snippet OMZP::jsontools #zinit snippet OMZP::jsontools
zinit snippet OMZP::copypath #zinit snippet OMZP::copypath
zinit snippet OMZP::copyfile #zinit snippet OMZP::copyfile
zinit snippet OMZP::copybuffer #zinit snippet OMZP::copybuffer
zinit snippet OMZP::dirhistory #zinit snippet OMZP::dirhistory
#zinit snippet OMZP::history-substring-search #zinit snippet OMZP::history-substring-search
# Load completions # Load completions
@ -207,7 +208,7 @@ function omz_urlencode() {
local safe_encodings local safe_encodings
safe_encodings=(UTF-8 utf8 US-ASCII) safe_encodings=(UTF-8 utf8 US-ASCII)
if [[ -z ${safe_encodings[(r)$encoding]} ]]; then if [[ -z ${safe_encodings[(r)$encoding]} ]]; then
str=$(echo -E "$str" | iconv -f $encoding -t UTF-8) str=$(echo -E "$str" | iconv )
if [[ $? != 0 ]]; then if [[ $? != 0 ]]; then
echo "Error converting string from $encoding to UTF-8" >&2 echo "Error converting string from $encoding to UTF-8" >&2
return 1 return 1