Skip to content

Commit

Permalink
added osh
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 3, 2025
1 parent ad1ca7c commit f0e2ae3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Binary file added examples/settings/set-shell-osh.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions examples/settings/set-shell-osh.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Output examples/settings/set-shell-osh.gif

Set FontSize 38
Set Height 225

Set Shell osh

Sleep 1s
Type "I am using OSH."
Sleep 2s
5 changes: 5 additions & 0 deletions shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const (
cmdexe = "cmd"
fish = "fish"
nushell = "nu"
osh = "osh"
powershell = "powershell"
pwsh = "pwsh"
zsh = "zsh"
Expand Down Expand Up @@ -64,4 +65,8 @@ var Shells = map[string]Shell{
nushell: {
Command: []string{"nu", "--execute", "$env.PROMPT_COMMAND = {''}"},
},
osh: {
Env: []string{"PS1=\\[\\e[38;2;90;86;224m\\]> \\[\\e[0m\\]"},
Command: []string{"osh", "--norc"},
},
}

0 comments on commit f0e2ae3

Please sign in to comment.