dotfiles

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.
Features
- Fast Git-aware shell prompt
- Bash and Fish configuration
- hyprland, waybar, and rofi configuration -> README
- Docker aliases and completion helpers
- tmux setup and themes -> TMUX README
- 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 make
RipGREP
dot
once installed and reload the config you can use the dot command.
dot update update to the newest version of this repo. It will stash your changes, updates and re-applies it later.
dot diff view the changes you made to the config.
dot fonts install the ‘needed’ emojis for mintty on windows.
dot nvim install neovim / nvim on your machine with batteries included.
dot pveclean install Proxmox kernel cleaning script.
READMES
emojis in mintty
make script
make fonts
OR
make 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 -d
download
JBlond/emojis
config
Mintty -> Options -> Text -> Emojis -> Style -> google
Mintty -> Options -> Text -> Emojis -> Placement -> middle
mintty with emoji

bash
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
git config
updates will override ~/.gitconfig. To keep your settings create ~/.machine.gitconfig. It is included in the config and will override any setting.
git aliases and commands



ssh / remote session
ssh://user@host:🏠
fast fish prompt
time fish_prompt 5ms [12:30]
✓ root@host ~
λ
________________________________________________________
Executed in 7.98 millis fish external
usr time 2.51 millis 0.10 millis 2.42 millis
sys time 7.29 millis 3.11 millis 4.18 millis
✓ root@host ~
λ
Functions
Fish complete
for better completion run fish_update_completions
Tmux
tmux README custom shortcuts and other good stuff

Powerline theme

Activate with CTRL + B +
See also tmux README
The power line font is included in the repo.
Vim
Vim has different Syntax highlighting themes. Can be changed using CTRL + Y
hybrid reverse

vim in tmux hybrid reverse
monokai

vim in tmux monokai
mysql prompt
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.
([email protected]:(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
([email protected]:mysql)> quit;
Bye
评论