mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 442f92d81b into 5667161d49
This commit is contained in:
commit
ddad7bf16a
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