refactor: properly alias cb to y
Instead of re-defining the same behavior, just write `cb` into the y.fish function file as an alias for y
This commit is contained in:
@@ -35,3 +35,8 @@ function y --description 'Yank to clipboard'
|
||||
eval $copy_cmd
|
||||
end
|
||||
end
|
||||
|
||||
# Alias cb=y
|
||||
function cb --wraps='y' --description 'Alias cb=y'
|
||||
y $argv
|
||||
end
|
||||
Reference in New Issue
Block a user