This repository contains my shell related configuration files. It doesn't contain Vim configuration as I use another repository for that.
I do not recommend to use my configuration files as they are:
- If learning about shell tools is your goal, you won't learn much about zsh, tmux and so on by copying someone else' configuration
- The configuration is tailored to my very specific needs so it won't probably fit you.
Having said that, it's open source so feel free to take anything you need :)
I have some small scripts in ~/bin
:
-
Some time ago I needed to type
cp -R project project.bak
very often so I wrote this simple script to save some keystrokes. -
This one is super simple but I find it surprisingly useful. The script accepts a number N and gives you the Nth field from the input list. It's just a shortcut for
awk "{ print N}"
where N is the argument. And yes, the name of the script makes no sense.
-
I use this script to delete both my local and remote branches that have been merged into main.
-
This is a shortcut for my personal workflow with
tmux
. First of all, I had a problem with tmux 1.7.X since this version adds a default-path feature that is not working well with myset autochdir
in Vim. The script fixes my problem and works in combination withCDPATH
a very nice feature that is very useful if you keep all your code in one directory. I even added autocompletion for the script. I say even because zsh autocompletion is magic to me.
MIT License Copyright (c) Luca Pette