From 713d64fa17d7494fc9874611e942bdc519eacdae Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 25 Jan 2022 11:48:28 -0800 Subject: feat(wpcarro/fish): Define rebuild-system alias This allows me to call rebuild-system from outside of /depot. Change-Id: I6bb627df173b1889522e03d5a6ff37e8119aaaa2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5058 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/dotfiles/config.fish | 2 ++ 1 file changed, 2 insertions(+) (limited to 'users/wpcarro/dotfiles') diff --git a/users/wpcarro/dotfiles/config.fish b/users/wpcarro/dotfiles/config.fish index c60f3698cf..cfbaf5a7db 100644 --- a/users/wpcarro/dotfiles/config.fish +++ b/users/wpcarro/dotfiles/config.fish @@ -15,6 +15,8 @@ alias edit 'emacsclient -n' # fs navigation alias d 'cd /depot' alias w 'cd /depot/users/wpcarro' +# This allows me to call rebuild-system from any directory. +alias rebuild-system 'sudo /depot/bin/rebuild-system' # environment variables set -gx EDITOR "emacsclient" -- cgit 1.4.1