Fix zsh script
This commit is contained in:
@ -60,9 +60,10 @@
|
|||||||
asset_filters = [ "^lgpl", "shared", "master", ".tar.xz" ]
|
asset_filters = [ "^lgpl", "shared", "master", ".tar.xz" ]
|
||||||
download_only = true # Shared libraries aren't extracted correctly, need to do in post install script
|
download_only = true # Shared libraries aren't extracted correctly, need to do in post install script
|
||||||
|
|
||||||
#["romkatv/zsh-bin"]
|
["romkatv/zsh-bin"]
|
||||||
# asset_filters = [ "^asc" ]
|
asset_filters = [ "^asc" ]
|
||||||
# all = true
|
# all = true
|
||||||
|
file = "bin/zsh"
|
||||||
|
|
||||||
["xyproto/gendesk"]
|
["xyproto/gendesk"]
|
||||||
asset_filters = [ "static" ]
|
asset_filters = [ "static" ]
|
||||||
@ -92,3 +93,7 @@
|
|||||||
asset_filters = [ "gnu", ".tar.gz" ]
|
asset_filters = [ "gnu", ".tar.gz" ]
|
||||||
|
|
||||||
["tealdeer-rs/tealdeer"]
|
["tealdeer-rs/tealdeer"]
|
||||||
|
|
||||||
|
["nushell/nushell"]
|
||||||
|
asset_filters = [ "musl", ".tar.gz" ]
|
||||||
|
all = true
|
||||||
|
@ -46,10 +46,10 @@ function .add {
|
|||||||
chezmoi add "$1"
|
chezmoi add "$1"
|
||||||
chezmoi git add .
|
chezmoi git add .
|
||||||
chezmoi git status
|
chezmoi git status
|
||||||
read -p "Commit changes? [y/N] " -r answer
|
read -r "Commit changes? [y/N] " answer
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; then
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
chezmoi git commit -- -am "$2"
|
chezmoi git commit -- -am "$2"
|
||||||
read -p "Push changes? [y/N] " -r answer
|
read -r "Push changes? [y/N] " answer
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; then
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
chezmoi git push
|
chezmoi git push
|
||||||
fi
|
fi
|
||||||
@ -64,10 +64,10 @@ function .re-add {
|
|||||||
chezmoi re-add
|
chezmoi re-add
|
||||||
chezmoi git status
|
chezmoi git status
|
||||||
chezmoi git diff
|
chezmoi git diff
|
||||||
read -p "Commit changes? [y/N] " -r answer
|
read -r "?Commit changes? [y/N] " answer
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; theno
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
chezmoi git commit -- -am "$1"
|
chezmoi git commit -- -am "$1"
|
||||||
read -p "Push changes? [y/N] " -r answer
|
read -r "?Push changes? [y/N] " answer
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; then
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
chezmoi git push
|
chezmoi git push
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user