All Projects β†’ mavcunha β†’ shell

mavcunha / shell

Licence: MIT license
Shell functions and aliases

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Vim Script
2826 projects
lua
6591 projects
perl
6916 projects

Projects that are alternatives of or similar to shell

Sketch Plugin Monster
A Sketch plugin for managing all plugin shortcuts.
Stars: ✭ 143 (+232.56%)
Mutual labels:  shortcuts
code2img
πŸ–¨οΈ A carbon-now API wrapper and iOS Shortcut
Stars: ✭ 74 (+72.09%)
Mutual labels:  shortcuts
quickey
⚑️ Quickey creates keyboard shortcuts for your web apps
Stars: ✭ 37 (-13.95%)
Mutual labels:  shortcuts
Njt
njt (npm jump to): a quick navigation tool for npm packages
Stars: ✭ 179 (+316.28%)
Mutual labels:  shortcuts
Devcomrade
DevComrade - A copy/paste/run productivity improvement utility for developers
Stars: ✭ 206 (+379.07%)
Mutual labels:  shortcuts
static-hands
⌨️🀯 Stop moving hands, and start code fast ⚑⚑
Stars: ✭ 36 (-16.28%)
Mutual labels:  shortcuts
Foundationextension
Foundation/Cocoa/UIKit extension kit. Reference document:
Stars: ✭ 115 (+167.44%)
Mutual labels:  shortcuts
use-keyboard-shortcut
A custom hook that allows adding keyboard shortcuts to React applications
Stars: ✭ 41 (-4.65%)
Mutual labels:  shortcuts
Quickactions
Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts)
Stars: ✭ 237 (+451.16%)
Mutual labels:  shortcuts
DesktopComposer
Manage Start Menu and Desktop Shortcuts for Windows 10/Windows 2019 in Active Directory Environment
Stars: ✭ 41 (-4.65%)
Mutual labels:  shortcuts
Hotkey
Trigger an action on an element with a keyboard shortcut.
Stars: ✭ 2,389 (+5455.81%)
Mutual labels:  shortcuts
Icanhazshortcut
simple shortcut manager for macOS
Stars: ✭ 204 (+374.42%)
Mutual labels:  shortcuts
keybind
ClojureScript key bindings (shortcut) library
Stars: ✭ 85 (+97.67%)
Mutual labels:  shortcuts
Hotkeys
πŸ€– A declarative library for handling hotkeys in Angular applications
Stars: ✭ 158 (+267.44%)
Mutual labels:  shortcuts
cheatsheet-generator
Generates cheatsheets for your (favourite) apps
Stars: ✭ 49 (+13.95%)
Mutual labels:  shortcuts
Shortcuts Swift
Write Shortcuts in Playgrounds
Stars: ✭ 116 (+169.77%)
Mutual labels:  shortcuts
qxtglobalshortcut
Cross-platform library for handling system-wide shortcuts in Qt applications
Stars: ✭ 61 (+41.86%)
Mutual labels:  shortcuts
mac-terminal-shortcuts
Useful and common terminal shortcuts for macOS
Stars: ✭ 39 (-9.3%)
Mutual labels:  shortcuts
react-shortcut
Convenient React component that detects if the given key combination is pressed, and triggers a callback
Stars: ✭ 16 (-62.79%)
Mutual labels:  shortcuts
iphone-shortcut-library
Apple iphone IOS 捷径 app εΊ“(Apple Iphone IOS shortcut Library)
Stars: ✭ 42 (-2.33%)
Mutual labels:  shortcuts

What this is

These are functions and aliases that I use on my daily shell interactions. Most of them are configurations for commands that I type often. You might check this blog post Taking Laziness Seriously for some information behind my motivation.

It is probably more useful to explore the configs directory which contains the bulk of the aliases, functions and tricks I pull on my shell.

Nowadays my current shell is Z-shell. So if you're using bash or other some functions may need changes to work properly.

Loading functions and aliases

In order to keep the files in another place other than my home directory I load all scripts with load.

You can add the follow to your .bash_profile, .zshrc, or similar:

	. /path/to/this/project/load

Then load takes care of loading all configurations, aliases and etc. Mind that every directory defined in load will be sourced recursively, mistakes made on the scripts can lead you to a immediately closing terminal (see bellow for tips on how to fix it).

Directory organization

You will find some directories:

common/ - It gets loaded first, common data and settings go here. configs/ - This is the main directory almost all functions are defined here. bin/ - All purpose scripts not only bash ones, it gets added to your path. dotfiles/ - Some of my dotfiles things like vimrc and gitconfig can be found here.

This directory structure is my personal choice. You can redefine and reorganize it by editing the load script to add/rename/remove directories it should clear how to do it.

Look into the configs directory and explore you might find something useful to you.

"Got myself in trouble, my terminal closes immediately"

I got myself in this situation, sometimes mistakes are made and your bash just closes before you have a chance of fixing it. There are several ways to fix it depending on the tools available to you. Here's a couple of alternatives:

If you can invoke bash from another place like a run on terminal... UI just go for:

>/usr/bin/bash --noprofile --norc

Use an GUI editor to take the offending line from the script and start the terminal again.

If you have another terminal window open just use that window and fix the problem without reloading.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].