diff options
| author | Alex Leferry 2 <alexherbo2@gmail.com> | 2019-05-02 16:35:37 +0200 |
|---|---|---|
| committer | Alex Leferry 2 <alexherbo2@gmail.com> | 2019-05-02 16:35:37 +0200 |
| commit | f045c66d862da65aa7ea342bfe07aab68adc9c2f (patch) | |
| tree | d020d70d14b118437f2f0eb8e9f9a53b628dc150 | |
| parent | 5f863e6184e58a278520d11021b4be7c5262b529 (diff) | |
Fix indentation of break
| -rwxr-xr-x | rc/commands/edit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rc/commands/edit b/rc/commands/edit index 4a89653..33fe0d9 100755 --- a/rc/commands/edit +++ b/rc/commands/edit @@ -9,10 +9,10 @@ realpath() { case "$file" in /*) printf '%s' "$file" - ;; + ;; *) printf '%s' "$PWD/${file#./}" - ;; + ;; esac } @@ -58,12 +58,12 @@ if test "$KAKOUNE_SESSION" -a "$KAKOUNE_CLIENT"; then column=${target#*:} commands="edit %($file) %($line) %($column)" shift 2 - ;; + ;; +*) line=${target#+}; line=${line%:*} commands="edit %($file) %($line)" shift 2 - ;; + ;; esac fi for file do |
