Skip to content

my dot files with git and docker extension for windows and linux

License

Notifications You must be signed in to change notification settings

JBlond/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

shell2

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.

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
winget install BurntSushi.ripgrep.MSVC

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

shell3

install and update use make

make options

bash

bash functions README

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 aliases and commands

git README

git aliases

shell1

shell3

shell4

ssh / remote session

ssh://user@host:🏠

fast fish prompt

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 ~
λ

Functions

Fish complete

for better completion run fish_update_completions

Tmux

tmux README custom shortcuts and other good stuff

shell4 shell5

Powerline theme

shell6

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

vim in tmux hybrid reverse

monokai

vim

vim in tmux monokai

nvim / neovim

My neovim config is another repo JBlond/nvim

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