mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-02 22:13:47 +08:00
17 lines
389 B
Markdown
17 lines
389 B
Markdown
|
# A better alias provide completion
|
||
|
|
||
|
Use `balias` instead of `alias`,you can get same completion meanwhile you set alias.
|
||
|
|
||
|
# Example
|
||
|
|
||
|
```
|
||
|
balias apti 'sudo apt-get install'
|
||
|
balias gc 'git checkout'
|
||
|
```
|
||
|
|
||
|
Then,you will get
|
||
|
|
||
|
![apti](http://www.geekpics.net/images/2014/08/23/TJn6kfBY.png)
|
||
|
|
||
|
![gc](http://www.geekpics.net/images/2014/08/23/655x76xcPJolvxqra.png.pagespeed.ic.4S9hgPfZ53.png)
|