JBlond / dotfiles

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

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

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.

(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

About

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

License:The Unlicense


Languages

Language:Shell 56.1%Language:Vim Script 20.8%Language:Perl 17.2%Language:Ruby 5.4%Language:Makefile 0.5%