Browse Source

sudo !! compat for fish

master
Noah Petherbridge 7 years ago
parent
commit
f202ee414b
  1. 8
      home/.config/fish/config.fish
  2. 4
      home/.editorconfig

8
home/.config/fish/config.fish

@ -72,6 +72,14 @@ function fish_title
end
end
# `sudo !!` compat for fish shell
function sudo
if test "$argv" = !!
eval command sudo $history[1]
else
command sudo $argv
end
end
# Source local system-specific config.
if test -e ~/.local.fish

4
home/.editorconfig

@ -19,4 +19,8 @@ indent_size = 4
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 2
# format:dosini

Loading…
Cancel
Save