Skip to content

Commit

Permalink
shells: fish: Add mount abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
veracioux committed Sep 22, 2024
1 parent 874ea61 commit f35b688
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shells.org
Original file line number Diff line number Diff line change
Expand Up @@ -1113,8 +1113,12 @@ abbreviations for equivalent apt operations.
conditional_abbr -g oct 'octave'
conditional_abbr -g octb 'OCTAVE_BASIC=true command octave'
conditional_abbr -g va 'vagrant'
conditional_abbr -g M --set-cursor 'sudo mount -o uid=(id -u),gid=(id -g) /dev/%'
conditional_abbr -g u 'fusermount -u'
conditional_abbr -g um 'sudo umount'
conditional_abbr -g um --set-cursor 'fusermount -u ~/mnt/%'
conditional_abbr -g U 'sudo umount'
conditional_abbr -g Um --set-cursor 'sudo umount ~/mnt/%'
conditional_abbr -g UM --set-cursor 'sudo umount ~/mnt/%'
conditional_abbr -g cmd 'command'
conditional_abbr -g w 'which'
conditional_abbr -g P "pgrep -af"
Expand Down

0 comments on commit f35b688

Please sign in to comment.