Skip to content

Commit

Permalink
init: prefer -eq for int cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Jun 8, 2024
1 parent d321221 commit 112c1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kamp/cmd/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define-command -override kamp-connect -params 1.. -command-completion %{{
export KAKOUNE_CLIENT="$2"
shift 3
[ $# = 0 ] && set "$SHELL"
[ $# -eq 0 ] && set "$SHELL"
"$@"
}} -- %val{{session}} %val{{client}} %arg{{@}}
Expand Down

0 comments on commit 112c1f9

Please sign in to comment.