Erwin Müller

Category: Tools

Mis­cel­la­neous Bash Alias­es & Con­fig­u­ra­tion

Use an alias to open Emacs in­side the con­sole. We will use the Emacs-Client to con­nect to a Emacs serv­er for faster start­up. Ref­er­ences: https://​www​.gnu​.org/​s​o​f​t​w​a​r​e​/​e​m​a​c​s​/​m​a​n​u​a​l​/​h​t​m​l​_​n​o​d​e​/​e​m​a​c​s​/​I​n​v​o​k​i​n​g​— e​m​a​c​s​c​l​i​e​n​t​.​h​t​m​l​#​I​n​v​o​k​i​n​g​— e​m​a​c​s​c​l​i​ent Re­move not need­ed Dock­er con­tain­ers. For ex­am­ple: docker_rm_search Ex­it­ed Use no­ti­­fy-send to in­form the user when maven is done. Ref­er­ences: https://​wi​ki​.arch​lin​ux​.org/​i​n​d​e​x​.​p​h​p​/​D​e​s​k​t​o​p​_​n​o​t​i​f​i​c​a​t​i​ons En­able au­to­mat­ic spelling for Emacs. Ref­er­ence: https://​stack​over​flow​.com/​q​u​e​s​t​i​o​n​s​/​1​5​8​9​1​8​0​8​/​h​o​w​— t​o​— e​n​a​b​l​e​— a​u​t​o​m​a​t​i​c​— s​p​e​l​l​— c​h​e​c​k​— b​y​— d​e​f​a​ult

Git Alias­es and Short­cuts

This is a list of com­mon git alias­es and short­cuts. In my opin­ion, cryp­tic alias­es like “gp” for git-push or “gc” for git-check­­out are very hard to re­mem­ber. There­fore, I will write longer alias­es that are more eas­i­ly to re­mem­ber. Since bash or zsh have au­­to-com­­ple­­tion, you can just write “git­co” and then press and let the…