Skip to content
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
zsh
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dotfiles

This repository contains my shell-related configuration files. It doesn't contain Vim configuration, I use another repository for Vim.

As for my vim configuration, I do not recommend to use my configuration files as they are. I think you won't learn much about zsh, tmux and so on just copying someone else configuration.

I have some small scripts in ~/bin:

  • bkdir

    Some time ago I needed to type cp -R project project.bak very often so I wrote this stupid script to save some keystrokes.

  • ff

    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.

  • git-merged

    I use this script to delete both my local and remote branches that have been merged into master.

  • t

    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 my set autochdir in Vim. The script fixes my problem and works in combination with CDPATH 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.

License

MIT License Copyright (c) Luca Pette

About

My configuration files

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.