.config/fish/functions/swayconfig.fish
1 2 3 4
function swayconfig --wraps='cd ~/.config/sway && nvim config' --description 'alias swayconfig=cd ~/.config/sway && nvim config' cd ~/.config/sway && nvim config $argv end