mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00: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)
|