浏览代码

Add command to install a binary software in bin

DricomDragon 5 年之前
父节点
当前提交
c71179520b
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      Guides/shell.md

+ 11 - 0
Guides/shell.md

@@ -0,0 +1,11 @@
+# Shell
+
+Useful common Unix commands and tricks
+
+## Link a binary in your local bin
+
+```sh
+ln -s -T ~/Software/GitAhead/GitAhead ~/.bin/gitahead
+```
+
+To use a physical link instead of a symlink, use `-S` instead of `-s`