update
This commit is contained in:
parent
dd2a5c6794
commit
e98a9de004
6 changed files with 21 additions and 19 deletions
|
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
@ -1 +1 @@
|
||||||
"power"
|
"window-management"
|
||||||
|
|
@ -1 +1 @@
|
||||||
"FiraCode Nerd Font Mono"
|
"GoMono Nerd Font"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
command: "",
|
command: "",
|
||||||
syntax_theme_dark: "COSMIC Dark",
|
syntax_theme_dark: "COSMIC Dark",
|
||||||
syntax_theme_light: "COSMIC Light",
|
syntax_theme_light: "COSMIC Light",
|
||||||
tab_title: "",
|
tab_title: " ",
|
||||||
working_directory: "",
|
working_directory: "",
|
||||||
hold: false,
|
hold: false,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
29
.zshrc
29
.zshrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue