AutoYADM commit: 2025-03-28 18:45:08
This commit is contained in:
parent
393973db39
commit
4606237776
78 changed files with 2856 additions and 1 deletions
18
.config/fish/functions/__gitnow_get_clip_program.fish
Normal file
18
.config/fish/functions/__gitnow_get_clip_program.fish
Normal file
|
@ -0,0 +1,18 @@
|
|||
# GitNow — Speed up your Git workflow. 🐠
|
||||
# https://github.com/joseluisq/gitnow
|
||||
|
||||
function __gitnow_get_clip_program -d "Gets the current clip installed program"
|
||||
set -l v_paste
|
||||
|
||||
if type -q xclip
|
||||
set v_paste "xclip -selection clipboard -o"
|
||||
else if type -q wl-clipboard
|
||||
set v_paste "wl-paste"
|
||||
else if type -q xsel
|
||||
set v_paste "xsel --clipboard --output"
|
||||
else if type -q pbpaste
|
||||
set v_paste "pbpaste"
|
||||
end
|
||||
|
||||
echo -n $v_paste
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue