dotfiles/fish/functions/cdgem.fish

5 lines
94 B
Fish

function cdgem --description 'cd to a gems directory'
cd (dirname (gem which $argv)[2])
end