GithubHelp home page GithubHelp logo

tieje / myaliases Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 7 KB

Aliases that I use on systems. Run the setup-aliases.sh file when you need to setup aliases on unix systems. Windows will be configured if I need it.

Shell 100.00%

myaliases's Introduction

MyAliases

The following are aliases that I use:

Commands for appending shebang lines to all files in the current directory for Holberton projects:

  • shebangs - appends a shebang to every file ending in .sh
  • bangs - appends a shebang to every file regardless of file type
  • pybangs- appends the python shebang to every file ending in .py
  • jsbangs - appends the node shebang to every file ending in .js

Other commands:

  • ifnameismain - This command appends if __name__ == "__main__" to all python files in the directory
  • hb <holberton-project URL> - This command creates Holberton project files using the hb-file-creator. You'll need install hb-file-creator in order to use this command.

Windows will be configured if I need it.

Installation

Installation For Most people

Run the append-~~~.sh file that fits your shell.

Notes

The scripts are relatively simple commands so please read them when you get the chance. The only difference between the bashrc and zshrc scripts is the shell. The bash shell is the shell most typically used on linux so run the bashrc scripts on linux OS. The zsh shell is now the default for Big Sur OS and M1 Mac users so run the zshrc scripts on Mac Big Sur OS.

Dev

I use the overwrite-~~~ scripts for trial and error when developing new aliases.

Below is Old Instructions for Context

I used to want to set everything up with one script but when it comes to creating more aliases it's actually easier to just edit .zshrc myself and copy and paste my aliases.

[DEPRECATED] - "Aliases that I use on systems. Run the setup-aliases.sh file when you need to setup aliases on unix systems."

myaliases's People

Contributors

tieje avatar

Stargazers

Gustavo Adolfo Mejía Sánchez avatar Andrea Castrillón avatar

Watchers

James Cloos avatar  avatar

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.