1
0
forked from extern/nix-config
donovanglover-nix-config/.config/fish/functions/lab.fish
Donovan Glover 4e65100b5e
Update fish config
Setting XDG_CURRENT_DESKTOP and QT_FONT_DPI lets us run KDE applications
in bspwm with near-identical settings without starting plasmashell.
2018-10-03 15:34:11 -04:00

12 lines
324 B
Fish

# Easily clone and cd into GitLab repositories
# Usage: lab username/repository
function lab --argument-names "path"
if test -n "$path"
git clone git@gitlab.com:$path.git
cd (basename "$path")
else
echo "No repository was specified."
echo "Usage: lab username/repository"
end
end