Add eps.fish
This expands, prints and then sets the variable $e. This allows to preview an expansion and then use it by just using $e.
This commit is contained in:
parent
9df078714e
commit
3157e7481b
2 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,7 @@ set -g fish_color_selection c0c0c0
|
||||||
set -g fish_color_status --bold red
|
set -g fish_color_status --bold red
|
||||||
set -g fish_color_suffix 29bc7d
|
set -g fish_color_suffix 29bc7d
|
||||||
set -g fish_color_user 00ff00
|
set -g fish_color_user 00ff00
|
||||||
|
set -g fish_color_valid_path normal
|
||||||
set -g fish_color_vcs 43d696
|
set -g fish_color_vcs 43d696
|
||||||
set -g fish_color_vcs_braces 29bc7d
|
set -g fish_color_vcs_braces 29bc7d
|
||||||
|
|
||||||
|
|
4
config/fish/functions/eps.fish
Normal file
4
config/fish/functions/eps.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function eps --description 'Expand, print and set variable $e'
|
||||||
|
set -g e $argv
|
||||||
|
echo $e
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue