I use my dotfiles on bash and fish shell from git for windows, debian bash and fish , ubuntu bash and fish. Works on OSX bash, too.
- Fast Git-aware shell prompt
- Bash and Fish configuration
- Docker aliases and completion helpers
- tmux setup and themes
- SSH and Git productivity shortcuts
- Windows + Linux friendly
Using tmux on git for windows download the Git for Windows SDK and run pacman.
git clone -c core.autocrlf=false https://github.com/JBlond/dotfiles.git
cd dotfiles
make update
# on windows
pacman -S tmux fish makeonce installed and reload the config you can use the dot command.
dot updateupdate to the newest version of this repo. It will stash your changes, updates and re-applies it later.dot diffview the changes you made to the config.dot fontsinstall the 'needed' emojis for mintty on windows.dot nviminstall neovim / nvim on your machine with batteries included.dot pvecleaninstall Proxmox kernel cleaning script.
- My neovim config is another repo JBlond/nvim
- bash functions README
- fish functions
- install and update: make options
- git README
- git aliases
- git create empty branch
- tmux README
make fontsmake the emojis yourself
in C:\Program Files\Git\usr\share\mintty\emojis or C:\git-sdk-64\usr\share\mintty\emojis download
mkdir emojis
cd emojis
curl -LO https://raw.githubusercontent.com/wiki/mintty/mintty/getemojis
./getemojis -dMintty -> Options -> Text -> Emojis -> Style -> google
Mintty -> Options -> Text -> Emojis -> Placement -> middle
jblond@linux:~/dotfiles
(main)[▼2] ✓
λ
jblond@linux:~/dotfiles
(main)[▼2] ✓
λ git pull
jblond@linux:~/dotfiles
(main) ✓
jblond@linux:~/dotfiles
(main) 1⬤ 4Ξ 1✗ 1⚡⚡
λ git commit -a -m "my commit"
jblond@linux:~/dotfiles
(main)[▲1] ✓
λ git push
jblond@linux:~/dotfiles
(main) ✓
λ
jblond@linux:~/dotfiles
(main) ✓
λ ..
jblond@linux:~
λ
- ✓ = repo is clean
- n⚡⚡ = n untracked files
- nΞ = n added files
- n⬤ = n modified files
- nᏪ = n renamed files
- n✗ = n deleted files
- [▲n] = n steps ahead of remote
- [▼n] = n steps behind remote
updates will override ~/.gitconfig. To keep your settings create ~/.machine.gitconfig. It is included in the config and will override any setting.
ssh://user@host:🏠
time fish_prompt 13ms []15:55
✓ root@host ~
λ
________________________________________________________
Executed in 13,11 millis fish external
usr time 7,80 millis 1,37 millis 6,43 millis
sys time 5,08 millis 4,12 millis 0,96 millis
✓ root@host ~
λ- fish functions
- goto
- bash completion
- ssh completion ssh example TAB reads the ~/.ssh/config file for host completion
- diff-so-fancy fancy diff for git ( and others)
- docker aliases + ssh into docker / docker exec completion. e.g. dssh example TAB
- git_functionspart for simplify git. an = add next git file dn = diff next file
- git-prompt have a nice prompt inside git repos
- git alias
for better completion run fish_update_completions
tmux README custom shortcuts and other good stuff
Activate with CTRL + B +
See also tmux README
The power line font is included in the repo.
Vim has different Syntax highlighting themes. Can be changed using CTRL + Y
This changes also the mysql prompt. You will know where you and what DB you are using.
mysql -hlocalhost -ujblond -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3295
Server version: 10.3.29-MariaDB-0+deb10u1 Debian 10
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
(jblond@example.com:(none))> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
(jblond@example.com:mysql)> quit;
Bye








