Permalink
Browse files

Some aliases

  • Loading branch information...
1 parent 2a192ce commit 28a49cc3ec7c0abb63b022633b82d28b0a2c435c @dmedvinsky committed Apr 5, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 config.fish
View
@@ -147,6 +147,8 @@ else
function l; ll $argv; end
end
+function less; command less -R $argv; end
+
# Git
function g; git $argv; end
function gs; git status $argv; end
@@ -165,6 +167,13 @@ function gri; git rebase --interactive $argv; end
# Tmux
function ta; tmux attach $argv; end
+# Systemd
+if which systemctl >/dev/null ^/dev/null
+ function start; sudo systemctl start $argv; end
+ function stop; sudo systemctl stop $argv; end
+ function restart; sudo systemctl restart $argv; end
+end
+
function venv
# Activates Python virtualenv for current project.
# Supports reading .env.

0 comments on commit 28a49cc

Please sign in to comment.