You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Switch faster between clusters and namespaces in kubectl
172
172
owner: ahmetb
173
173
repo: kubectx
@@ -201,7 +201,7 @@ map | no
201
201
202
202
```yaml hl_lines="12 13 14 15"
203
203
github:
204
-
- name: bat
204
+
- name: sharkdp/bat
205
205
description: A cat(1) clone with wings.
206
206
owner: sharkdp
207
207
repo: bat
@@ -231,7 +231,7 @@ map | no
231
231
232
232
```yaml hl_lines="7 8"
233
233
github:
234
-
- name: colordiff
234
+
- name: daveewart/colordiff
235
235
description: Primary development for colordiff
236
236
owner: daveewart
237
237
repo: colordiff
@@ -247,7 +247,7 @@ map | no
247
247
248
248
```yaml hl_lines="10 11 12 13 14 15"
249
249
github:
250
-
- name: exa
250
+
- name: ogham/exa
251
251
description: A modern version of 'ls'.
252
252
owner: ogham
253
253
repo: exa
@@ -270,7 +270,7 @@ map | no
270
270
271
271
```yaml hl_lines="10 11"
272
272
github:
273
-
- name: bat
273
+
- name: sharkdp/bat
274
274
description: A cat(1) clone with wings.
275
275
owner: sharkdp
276
276
repo: bat
@@ -300,7 +300,7 @@ string | no
300
300
301
301
```yaml hl_lines="10 11 12" title="Login message if tpm is installed"
302
302
github:
303
-
- name: tpm
303
+
- name: tmux-plugins/tpm
304
304
description: Tmux Plugin Manager
305
305
owner: tmux-plugins
306
306
repo: tpm
@@ -324,6 +324,8 @@ string | no
324
324
325
325
In `if` field, you can write shell scripts[^1]. The exit code finally returned from that shell script is used to determine whether it links command or not.
326
326
327
+
[^1]: You can configure your favorite shell to evaluate `if` field by setting `AFX_SHELL`.
328
+
327
329
=== "Case 1"
328
330
329
331
```yaml hl_lines="10 11" title="link commands if git is installed"
@@ -347,4 +349,14 @@ In `if` field, you can write shell scripts[^1]. The exit code finally returned f
347
349
}
348
350
```
349
351
350
-
[^1]: You can configure your favorite shell to evaluate `if` field by setting `AFX_SHELL`.
352
+
!!! hint "Shell used for an evaluation of `if`"
353
+
354
+
Defaults to `bash`. But you can change it with setting `AFX_SHELL` (or `main.shell` block on afx configuration)[^2]
0 commit comments