Giter Site home page Giter Site logo

shellove's Introduction

Shellove

增强 Shell 体验的常用脚本集合

安装

  1. Fork 本仓库

  2. 执行以下命令

bash <(curl -s https://raw.githubusercontent.com/ThankRain/shellove/master/install.sh)
  1. 输入您的仓库克隆地址(HTTPS/SSH)

  2. Enjoy it!

基础命令

书签

添加书签

$ mark <name> [path]

<name>: 书签名称 [path]: (可选)书签路径,默认为当前目录

跳转书签

支持自动补全

$ cdm <name>

<name>: 书签名称

Git

Gitgraph

git log --all --graph --decorate 的短命令

$ gitgraph
$ #
$ gg

其他

持久化环境变量

将指定路径添加到环境变量 PATH 中,并将其持久化至 ~/.scripts/env.sh

$ addpath [path]

[path] 需要添加到 PATH 的路径,默认为当前路径

自定义脚本

  1. ~/.scripts 文件夹中编写新脚本

  2. chmod +x xx.sh 为其添加可执行权限

  3. rld 重新加载所有脚本

  4. syncs 输入 commit 信息,并同步到自己仓库中

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.