项目作者: romedtino

项目描述 :
Simple bash quality of life improvements
高级语言: Shell
项目地址: git://github.com/romedtino/bash_aliases.git
创建时间: 2019-05-31T17:00:21Z
项目社区:https://github.com/romedtino/bash_aliases

开源协议:

下载


bash_aliases

Simple bash quality of improvements

output_aliases - Output your aliases in your terminal window to easily see a list of your shortcuts

Sample ~/.bashrc

  1. if [ -f ~/.aliases.bash ]; then
  2. . ~/.aliases.bash
  3. fi
  4. if [ -f ~/.output_aliases.bash ]; then
  5. . ~/.output_aliases.bash
  6. fi
  7. output_aliases ~/.aliases.bash

Sample ~/.aliases.bash

  1. alias moome="echo moo $@" # Adds moo to the beginning of an echo
  2. alias grepy="grep -rni" # Recursive grep, case-insensitive

On Terminal open

  1. Available commands:
  2. moome - Adds moo to the beginning of an echo
  3. grepy - Recursive grep, case-insensitive
  4. [user@home]$