GithubHelp home page GithubHelp logo

paysonwallach / fish-you-should-use Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 1.0 1.45 MB

A fish plugin that reminds you to use your aliases.

License: GNU General Public License v3.0

Shell 96.47% JavaScript 3.53%
fish fish-shell fish-plugin fisher

fish-you-should-use's Introduction

You Should Use



A fish plugin that reminds you to use your aliases.

Version 1.2.0 Licensed under the GNU General Public License v3.0

You Should Use is a rewrite of You Should Use for fish.

Installation

Using fisher:

fisher install paysonwallach/fish-you-should-use

Usage

Simply install and get back to whatever you were doing before! You Should Use will let you know when you've typed out a command that exists as an alias.

Configuration

By default, You Should Use will display its reminder message after a command has executed. However, you can choose to display the mesasge before execution by setting YSU__MESSAGE_POSITION like so:

set YSU_MESSAGE_POSITION "before"

Contributing

Feel free to take a look at TODO.md, otherwise pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

You Should Use is licensed under the GNU General Public License v3.0.

fish-you-should-use's People

Contributors

codingpenguin1 avatar paysonwallach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ilya-bobyr

fish-you-should-use's Issues

Command being misinterpreted

I have this alias: alias addall="git add ."

Running

git add .gitignore bot.py

produced:

​Found existing alias for "git add .".
You should use: "addall"```

Prints sugguestion for cd alias when it shouldn't

I have these aliases in my config.fish:

alias ..="cd .."
alias ...="cd ../.."
alias .3="cd ../../.."
alias .4="cd ../../../.."
alias .5="cd ../../../../.."

When I run cd Documents, it outputs

Found existing alias for "cd ..".
You should use: ".."

I do not believe this to be expected behavior

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.