Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ To load the most recently selected theme automatically you can put

```
if command -v theme.sh > /dev/null; then
[ -e ~/.theme_history ] && theme.sh "$(theme.sh -l|tail -n1)"
theme.sh "$(theme.sh -l|tail -n1)"

# Optional

Expand All @@ -100,7 +100,7 @@ in your `~/.bashrc`.
## `~/.zshrc`
```
if command -v theme.sh > /dev/null; then
[ -e ~/.theme_history ] && theme.sh "$(theme.sh -l|tail -n1)"
theme.sh "$(theme.sh -l|tail -n1)"

# Optional

Expand All @@ -126,9 +126,7 @@ fi

```
if type -q theme.sh
if test -e ~/.theme_history
theme.sh (theme.sh -l|tail -n1)
end

# Optional
# Bind C-o to the last theme.
Expand Down