Skip to content

Commit b933b45

Browse files
authored
feat(website): update superfile-config.mdx for Fish shell setup (#1142)
Added instructions for configuring Fish shell. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Renamed MacOS/Linux heading to indicate support for Bash or Fish. * Added Fish shell-specific setup and cd_on_quit guidance, including how to add and reload Fish configuration and reference to Fish docs. * Retained Bash guidance for updating and reloading Bash configuration. * Windows instructions left unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a1c087c commit b933b45

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

website/src/content/docs/configure/superfile-config.mdx

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ The editor your directories will be opened with (Leave blank to use defaults : `
4646

4747
After setting to `true`, you need to update your shell config file. Sample changes :
4848

49-
##### MacOS/Linux (bash)
49+
##### MacOS/Linux (bash or fish)
50+
51+
###### Bash
5052

5153
Open the file:
5254

@@ -64,6 +66,26 @@ Save, exit, and reload your `.bashrc` file:
6466
source ~/.bashrc
6567
```
6668

69+
###### Fish
70+
71+
Open the file:
72+
73+
```bash
74+
$EDITOR ~/.config/fish/config.fish
75+
```
76+
77+
If you suspect your `config.fish` file is located somewhere else, read [the Fish shell documentation](https://fishshell.com/docs/current/language.html#configuration)
78+
79+
Copy the following code into the file:
80+
81+
<CodeBlock file="cd_on_quit/cd_on_quit.fish" />
82+
83+
Save, exit, and reload `config.fish`:
84+
85+
```bash
86+
source ~/.config/fish/config.fish
87+
```
88+
6789
##### Windows (Powershell)
6890

6991
Open the file:

0 commit comments

Comments
 (0)