瀏覽代碼

map alias g -> git

Fabian Peter Hammerle 5 年之前
父節點
當前提交
cabfd50088
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rc.xsh

+ 3 - 1
rc.xsh

@@ -47,6 +47,8 @@ def timestamp_iso():
     return dt.datetime.now(tz=dateutil.tz.tzlocal()) \
             .strftime('%Y%m%dT%H%M%S%z')
 
-aliases['ll'] = ['ls', '-l', '--all', '--indicator-style=slash', '--human-readable', '--time-style=long-iso', '--color=auto']
+aliases['g'] = ['git']
+aliases['ll'] = ['ls', '-l', '--all', '--indicator-style=slash',
+                 '--human-readable', '--time-style=long-iso', '--color=auto']
 
 # vim: filetype=python