- Go to
Preferences
->Advanced
- Under
Smart Selection
, click theEdit
button - Click the
+
to add a new rule - For the Regular expression, use
^\s*(?:remotes/origin/)?([a-z0-9A-Z][a-zA-Z0-9\/\.\-\_]*)$
- For priority, choose
Very Low
- Click
Edit Actions
- Click the
+
to add a new action - Title
Switch Git Branch
- Action
Run Coprocess...
- Parameter
~/sw.sh \1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
命令: repo | |
功能: 用于快速在浏览器中打开当前仓库的 WEB URL 地址 | |
使用方式: 复制下面的内容粘贴到 ~/.bash_profile 中, 之后关闭Terminal, 重新打开 生效, 之后进入任意一个git仓库的目录中, 输入 repo 即可看到效果. | |
```bash | |
## {{{ open git repo remote url in browser | |
function repo () { |
nginx.conf
user nginx;
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
HyperSwitch expired!
This beta version has expired.
https://bahoom.com/hyperswitch/appcast-test.xml
- 根据关键字
HyperSwitch expired!
定位至使用的函数内.
0.2.593-dev
如下:
I hereby claim:
- I am xqin on github.
- I am xqin (https://keybase.io/xqin) on keybase.
- I have a public key ASAOQPH4yZXAHxHBHTTRL2oxk8GZRpoVrlStWWEnaDRT1Ao
To claim this, I am signing this object: