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