Skip to content

Commit

Permalink
Merge pull request #9 from ik11235/refactor/use_split
Browse files Browse the repository at this point in the history
文字列分割をfish組み込みコマンドを使うように
  • Loading branch information
ik11235 authored Mar 27, 2024
2 parents e6d121d + 70afd49 commit 75b14fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.d/wakatime.fish
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function __register_wakatime_fish_before_exec -e fish_postexec

set -l exec_command_str

set exec_command_str (echo $argv | cut -d ' ' -f1)
set exec_command_str (string split -f1 ' ' "$argv")

if test "$exec_command_str" = 'exit'
return 0
Expand Down

0 comments on commit 75b14fd

Please sign in to comment.