Remove alias with 1 or 2 character

This commit is contained in:
Han Ngo 2017-07-17 14:29:26 +07:00
parent 1a34574498
commit ad93a71eef
4 changed files with 29 additions and 32 deletions

View file

@ -6,26 +6,24 @@ Defines [Elixir][1] aliases.
Aliases Aliases
------- -------
- `i`='iex' runs interactive elixir
- `ips`='iex -S mix phoenix.server' runs iex in phoenix app - `ips`='iex -S mix phoenix.server' runs iex in phoenix app
- `ism`='iex -S mix' runs iex in current elixir package - `ism`='iex -S mix' runs iex in current elixir package
- `m`='mix' runs the default task - `mrun`='mix run' runs the given file or expression
- `mr`='mix run' runs the given file or expression
- `mrnh`='mix run --no-halt' does not halt the system after running the command - `mrnh`='mix run --no-halt' does not halt the system after running the command
- `mrl`='mix release' build an executable release (require [distillery](https://github.com/bitwalker/distillery)) - `mrl`='mix release' build an executable release (require [distillery](https://github.com/bitwalker/distillery))
- `mt`='mix test' runs a project's tests - `mtt`='mix test' runs a project's tests
- `mts`='mix test --stale' runs only tests which reference modules that changed since the last `test --stale` - `mts`='mix test --stale' runs only tests which reference modules that changed since the last `test --stale`
- `mx`='mix xref' performs cross reference checks - `mxr`='mix xref' performs cross reference checks
- `mn`='mix new' creates a new Elixir project - `mnew`='mix new' creates a new Elixir project
- `mns`='mix new --sup' creates a new Elixir project with a supervision tree - `mns`='mix new --sup' creates a new Elixir project with a supervision tree
- `mat`='mix app.tree' prints the application tree - `mat`='mix app.tree' prints the application tree
- `mab`='mix archive.build' archives this project into a .ez file - `mab`='mix archive.build' archives this project into a .ez file
- `mai`='mix archive.install' installs an archive locally - `mai`='mix archive.install' installs an archive locally
- `mc`='mix compile' compiles source files - `mcp`='mix compile' compiles source files
- `mcv`='mix compile --verbose' compiles source files with verbose mode - `mcv`='mix compile --verbose' compiles source files with verbose mode
- `mcx`='mix compile.xref' performs remote dispatch checking - `mcx`='mix compile.xref' performs remote dispatch checking

View file

@ -6,28 +6,26 @@
# #
# IEx # IEx
alias i='iex'
alias ips='iex -S mix phoenix.server' alias ips='iex -S mix phoenix.server'
alias ism='iex -S mix' alias ism='iex -S mix'
# Mix # Mix
alias m='mix' alias mrun='mix run'
alias mr='mix run'
alias mrnh='mix run --no-halt' alias mrnh='mix run --no-halt'
alias mrl='mix release' alias mrl='mix release'
alias mt='mix test' alias mtt='mix test'
alias mts='mix test --stale' alias mts='mix test --stale'
alias mtw='mix test.watch' alias mtw='mix test.watch'
alias mx='mix xref' alias mxr='mix xref'
alias mn='mix new' alias mnew='mix new'
alias mns='mix new --sup' alias mns='mix new --sup'
alias mat='mix app.tree' alias mat='mix app.tree'
alias mab='mix archive.build' alias mab='mix archive.build'
alias mai='mix archive.install' alias mai='mix archive.install'
alias mc='mix compile' alias mcp='mix compile'
alias mcv='mix compile --verbose' alias mcv='mix compile --verbose'
alias mcx='mix compile.xref' alias mcx='mix compile.xref'

View file

@ -23,15 +23,15 @@ Aliases
- `merb`='mix ecto.rollback' rolls back the repository migrations - `merb`='mix ecto.rollback' rolls back the repository migrations
- `mecm`='mix do ecto.create, ecto.migrate' creates the repository storage then start migration - `mecm`='mix do ecto.create, ecto.migrate' creates the repository storage then start migration
- `kd`='kiex default' sets default elixir version with specific version - `kid`='kiex default' sets default elixir version with specific version
- `ki`='kiex install' installs a known release or branch - `kii`='kiex install' installs a known release or branch
- `kl`='kiex list' lists installed versions - `kil`='kiex list' lists installed versions
- `klb`='kiex list branches' lists current branches - `kilb`='kiex list branches' lists current branches
- `klk`='kiex list known' lists known releases - `kilk`='kiex list known' lists known releases
- `klr`='kiex list releases' lists known releases - `kilr`='kiex list releases' lists known releases
- `ks`='kiex shell' uses sub-shell with specific elixir version - `kis`='kiex shell' uses sub-shell with specific elixir version
- `ksu`='kiex selfupdate' upgrades kiex - `kisu`='kiex selfupdate' upgrades kiex
- `ku`='kiex use' use specific elixir version - `kiu`='kiex use' use specific elixir version
Authors Authors
------- -------

View file

@ -26,13 +26,14 @@ alias mers='mix ecto.reset'
alias mes='mix ecto.setup' alias mes='mix ecto.setup'
alias mecm='mix do ecto.create, ecto.migrate' alias mecm='mix do ecto.create, ecto.migrate'
# Kiex - Elixir Version Manager: https://github.com/taylor/kiex # Kiex - Elixir Version Manager: https://github.com/taylor/kiex
alias kd='kiex default' alias kid='kiex default'
alias ki='kiex install' alias kii='kiex install'
alias kl='kiex list' alias kil='kiex list'
alias klb='kiex list branches' alias kilb='kiex list branches'
alias klk='kiex list known' alias kilk='kiex list known'
alias klr='kiex list releases' alias kilr='kiex list releases'
alias ks='kiex shell' alias kis='kiex shell'
alias ksu='kiex selfupdate' alias kisu='kiex selfupdate'
alias ku='kiex use' alias kiu='kiex use'