about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-01-25T19·48-0800
committerclbot <clbot@tvl.fyi>2022-01-25T20·01+0000
commit713d64fa17d7494fc9874611e942bdc519eacdae (patch)
tree875ead59622fda34c6c12d829b24fe4f1d06e3d6 /users
parentc1fe77d7b9deb470edaecfeb0622513f1c470e31 (diff)
feat(wpcarro/fish): Define rebuild-system alias r/3671
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 <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/wpcarro/dotfiles/config.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/wpcarro/dotfiles/config.fish b/users/wpcarro/dotfiles/config.fish
index c60f3698cf9c..cfbaf5a7db22 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"