My linux aliases

Command line aliases to save me from typing “npm” and “git” all the time:

 

Edit .bashrc and add this to the end

alias g='git'
alias n='npm'
alias gpp='git pull && git push'
alias gac='git add . && git commit'
alias y='yarn'

Linux Mint – Cinnamon – Launch Expo View from command line – Launch Scale (Overview) View

Here is my config

flameshot_2019-01-03_13:14:57

Because I use Workspace grid (2D) and switcher to have my workspaces as a grid, I cannot use the shortcuts to show Expo view and Scale view. (The applet override the shortcuts to navigate through workspaces).

So I added my own custom keyboard shortcuts !

Expo view command

sh -c 'dbus-send --dest=org.Cinnamon --print-reply /org/Cinnamon org.Cinnamon.ShowExpo >/dev/null'

 

Scale view command

sh -c 'dbus-send --dest=org.Cinnamon --print-reply /org/Cinnamon org.Cinnamon.ShowOverview >/dev/null'

 

References: