mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
screencopy theme
This commit is contained in:
parent
1a0be15d8c
commit
442f92d81b
1 changed files with 18 additions and 0 deletions
18
themes/screencopy.zsh-theme
Normal file
18
themes/screencopy.zsh-theme
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#
|
||||||
|
# theme for drag copying the terminal screen
|
||||||
|
|
||||||
|
# these functions may be declared in "ZSH/custom" directory
|
||||||
|
function switch-to-screencopy {
|
||||||
|
ZSH_THEME=screencopy source $ZSH/oh-my-zsh.sh
|
||||||
|
}
|
||||||
|
function switch-to-normal {
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
# set non-intrusive prompt for copying
|
||||||
|
PS1=' > '
|
||||||
|
PS2=' '
|
||||||
|
PS3=''
|
||||||
|
PS4=''
|
||||||
|
RPS1=''
|
||||||
|
RPS2=''
|
||||||
Loading…
Add table
Add a link
Reference in a new issue