Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 583a757

Browse files
author
Rokas Mikalkėnas
committed
Dot files update.
1 parent db22463 commit 583a757

10 files changed

Lines changed: 325 additions & 46 deletions

File tree

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
2+
# Dark 256 color solarized theme for the color GNU ls utility.
3+
# Used and tested with dircolors (GNU coreutils) 8.5
4+
#
5+
# @author {@link http://sebastian.tramp.name Sebastian Tramp}
6+
# @license http://sam.zoy.org/wtfpl/ Do What The Fuck You Want To Public License (WTFPL)
7+
#
8+
# More Information at
9+
# https://github.com/seebi/dircolors-solarized
10+
11+
# Term Section
12+
TERM Eterm
13+
TERM ansi
14+
TERM color-xterm
15+
TERM con132x25
16+
TERM con132x30
17+
TERM con132x43
18+
TERM con132x60
19+
TERM con80x25
20+
TERM con80x28
21+
TERM con80x30
22+
TERM con80x43
23+
TERM con80x50
24+
TERM con80x60
25+
TERM cons25
26+
TERM console
27+
TERM cygwin
28+
TERM dtterm
29+
TERM dvtm
30+
TERM dvtm-256color
31+
TERM eterm-color
32+
TERM fbterm
33+
TERM gnome
34+
TERM gnome-256color
35+
TERM jfbterm
36+
TERM konsole
37+
TERM konsole-256color
38+
TERM kterm
39+
TERM linux
40+
TERM linux-c
41+
TERM mach-color
42+
TERM mlterm
43+
TERM putty
44+
TERM putty-256color
45+
TERM rxvt
46+
TERM rxvt-256color
47+
TERM rxvt-cygwin
48+
TERM rxvt-cygwin-native
49+
TERM rxvt-unicode
50+
TERM rxvt-unicode256
51+
TERM rxvt-unicode-256color
52+
TERM screen
53+
TERM screen-16color
54+
TERM screen-16color-bce
55+
TERM screen-16color-s
56+
TERM screen-16color-bce-s
57+
TERM screen-256color
58+
TERM screen-256color-bce
59+
TERM screen-256color-s
60+
TERM screen-256color-bce-s
61+
TERM screen-256color-italic
62+
TERM screen-bce
63+
TERM screen-w
64+
TERM screen.linux
65+
TERM screen.xterm-256color
66+
TERM st
67+
TERM st-meta
68+
TERM st-256color
69+
TERM st-meta-256color
70+
TERM tmux
71+
TERM tmux-256color
72+
TERM vt100
73+
TERM xterm
74+
TERM xterm-16color
75+
TERM xterm-256color
76+
TERM xterm-256color-italic
77+
TERM xterm-88color
78+
TERM xterm-color
79+
TERM xterm-debian
80+
TERM xterm-termite
81+
82+
## Documentation
83+
#
84+
# standard colors
85+
#
86+
# Below are the color init strings for the basic file types. A color init
87+
# string consists of one or more of the following numeric codes:
88+
# Attribute codes:
89+
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
90+
# Text color codes:
91+
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
92+
# Background color codes:
93+
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
94+
#
95+
#
96+
# 256 color support
97+
# see here: http://www.mail-archive.com/[email protected]/msg11030.html)
98+
#
99+
# Text 256 color coding:
100+
# 38;5;COLOR_NUMBER
101+
# Background 256 color coding:
102+
# 48;5;COLOR_NUMBER
103+
104+
## Special files
105+
106+
NORMAL 00;38;5;244 # no color code at all
107+
#FILE 00 # regular file: use no color at all
108+
RESET 0 # reset to "normal" color
109+
DIR 00;38;5;33 # directory 01;34
110+
LINK 00;38;5;37 # symbolic link. (If you set this to 'target' instead of a
111+
# numerical value, the color is as for the file pointed to.)
112+
MULTIHARDLINK 00 # regular file with more than one link
113+
FIFO 48;5;230;38;5;136;01 # pipe
114+
SOCK 48;5;230;38;5;136;01 # socket
115+
DOOR 48;5;230;38;5;136;01 # door
116+
BLK 48;5;230;38;5;244;01 # block device driver
117+
CHR 48;5;230;38;5;244;01 # character device driver
118+
ORPHAN 48;5;235;38;5;160 # symlink to nonexistent file, or non-stat'able file
119+
SETUID 48;5;160;38;5;230 # file that is setuid (u+s)
120+
SETGID 48;5;136;38;5;230 # file that is setgid (g+s)
121+
CAPABILITY 30;41 # file with capability
122+
STICKY_OTHER_WRITABLE 48;5;64;38;5;230 # dir that is sticky and other-writable (+t,o+w)
123+
OTHER_WRITABLE 48;5;235;38;5;33 # dir that is other-writable (o+w) and not sticky
124+
STICKY 48;5;33;38;5;230 # dir with the sticky bit set (+t) and not other-writable
125+
# This is for files with execute permission:
126+
EXEC 00;38;5;64
127+
128+
## Archives or compressed (violet + bold for compression)
129+
.tar 00;38;5;61
130+
.tgz 00;38;5;61
131+
.arj 00;38;5;61
132+
.taz 00;38;5;61
133+
.lzh 00;38;5;61
134+
.lzma 00;38;5;61
135+
.tlz 00;38;5;61
136+
.txz 00;38;5;61
137+
.zip 00;38;5;61
138+
.z 00;38;5;61
139+
.Z 00;38;5;61
140+
.dz 00;38;5;61
141+
.gz 00;38;5;61
142+
.lz 00;38;5;61
143+
.xz 00;38;5;61
144+
.bz2 00;38;5;61
145+
.bz 00;38;5;61
146+
.tbz 00;38;5;61
147+
.tbz2 00;38;5;61
148+
.tz 00;38;5;61
149+
.deb 00;38;5;61
150+
.rpm 00;38;5;61
151+
.jar 00;38;5;61
152+
.rar 00;38;5;61
153+
.ace 00;38;5;61
154+
.zoo 00;38;5;61
155+
.cpio 00;38;5;61
156+
.7z 00;38;5;61
157+
.rz 00;38;5;61
158+
.apk 00;38;5;61
159+
.gem 00;38;5;61
160+
161+
# Image formats (yellow)
162+
.jpg 00;38;5;136
163+
.JPG 00;38;5;136 #stupid but needed
164+
.jpeg 00;38;5;136
165+
.gif 00;38;5;136
166+
.bmp 00;38;5;136
167+
.pbm 00;38;5;136
168+
.pgm 00;38;5;136
169+
.ppm 00;38;5;136
170+
.tga 00;38;5;136
171+
.xbm 00;38;5;136
172+
.xpm 00;38;5;136
173+
.tif 00;38;5;136
174+
.tiff 00;38;5;136
175+
.png 00;38;5;136
176+
.PNG 00;38;5;136
177+
.svg 00;38;5;136
178+
.svgz 00;38;5;136
179+
.mng 00;38;5;136
180+
.pcx 00;38;5;136
181+
.dl 00;38;5;136
182+
.xcf 00;38;5;136
183+
.xwd 00;38;5;136
184+
.yuv 00;38;5;136
185+
.cgm 00;38;5;136
186+
.emf 00;38;5;136
187+
.eps 00;38;5;136
188+
.CR2 00;38;5;136
189+
.ico 00;38;5;136
190+
191+
# Files of special interest (base1)
192+
.tex 00;38;5;245
193+
.rdf 00;38;5;245
194+
.owl 00;38;5;245
195+
.n3 00;38;5;245
196+
.ttl 00;38;5;245
197+
.nt 00;38;5;245
198+
.torrent 00;38;5;245
199+
.xml 00;38;5;245
200+
*Makefile 00;38;5;245
201+
*Rakefile 00;38;5;245
202+
*Dockerfile 00;38;5;245
203+
*build.xml 00;38;5;245
204+
*rc 00;38;5;245
205+
*1 00;38;5;245
206+
.nfo 00;38;5;245
207+
*README 00;38;5;245
208+
*README.txt 00;38;5;245
209+
*readme.txt 00;38;5;245
210+
.md 00;38;5;245
211+
*README.markdown 00;38;5;245
212+
.ini 00;38;5;245
213+
.yml 00;38;5;245
214+
.cfg 00;38;5;245
215+
.conf 00;38;5;245
216+
.h 00;38;5;245
217+
.hpp 00;38;5;245
218+
.c 00;38;5;245
219+
.cpp 00;38;5;245
220+
.cxx 00;38;5;245
221+
.cc 00;38;5;245
222+
.objc 00;38;5;245
223+
.sqlite 00;38;5;245
224+
.go 00;38;5;245
225+
.sql 00;38;5;245
226+
.csv 00;38;5;245
227+
228+
# "unimportant" files as logs and backups (base01)
229+
.log 00;38;5;240
230+
.bak 00;38;5;240
231+
.aux 00;38;5;240
232+
.lof 00;38;5;240
233+
.lol 00;38;5;240
234+
.lot 00;38;5;240
235+
.out 00;38;5;240
236+
.toc 00;38;5;240
237+
.bbl 00;38;5;240
238+
.blg 00;38;5;240
239+
*~ 00;38;5;240
240+
*# 00;38;5;240
241+
.part 00;38;5;240
242+
.incomplete 00;38;5;240
243+
.swp 00;38;5;240
244+
.tmp 00;38;5;240
245+
.temp 00;38;5;240
246+
.o 00;38;5;240
247+
.pyc 00;38;5;240
248+
.class 00;38;5;240
249+
.cache 00;38;5;240
250+
251+
# Audio formats (orange)
252+
.aac 00;38;5;166
253+
.au 00;38;5;166
254+
.flac 00;38;5;166
255+
.mid 00;38;5;166
256+
.midi 00;38;5;166
257+
.mka 00;38;5;166
258+
.mp3 00;38;5;166
259+
.mpc 00;38;5;166
260+
.ogg 00;38;5;166
261+
.opus 00;38;5;166
262+
.ra 00;38;5;166
263+
.wav 00;38;5;166
264+
.m4a 00;38;5;166
265+
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
266+
.axa 00;38;5;166
267+
.oga 00;38;5;166
268+
.spx 00;38;5;166
269+
.xspf 00;38;5;166
270+
271+
# Video formats (as audio + bold)
272+
.mov 00;38;5;166
273+
.MOV 00;38;5;166
274+
.mpg 00;38;5;166
275+
.mpeg 00;38;5;166
276+
.m2v 00;38;5;166
277+
.mkv 00;38;5;166
278+
.ogm 00;38;5;166
279+
.mp4 00;38;5;166
280+
.m4v 00;38;5;166
281+
.mp4v 00;38;5;166
282+
.vob 00;38;5;166
283+
.qt 00;38;5;166
284+
.nuv 00;38;5;166
285+
.wmv 00;38;5;166
286+
.asf 00;38;5;166
287+
.rm 00;38;5;166
288+
.rmvb 00;38;5;166
289+
.flc 00;38;5;166
290+
.avi 00;38;5;166
291+
.fli 00;38;5;166
292+
.flv 00;38;5;166
293+
.gl 00;38;5;166
294+
.m2ts 00;38;5;166
295+
.divx 00;38;5;166
296+
.webm 00;38;5;166
297+
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
298+
.axv 00;38;5;166
299+
.anx 00;38;5;166
300+
.ogv 00;38;5;166
301+
.ogx 00;38;5;166
302+
303+

docker/.docker-conf/main/.zshrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
export ZSH="/home/laradock/.oh-my-zsh"
22
export VISUAL=vim
33
export EDITOR="$VISUAL"
4+
export SHELL=/bin/zsh
5+
eval `dircolors /home/laradock/.dir_colors`
46

57
ZSH_THEME="robbyrussell"
68
plugins=(
@@ -20,4 +22,3 @@ export PATH="$HOME/.symfony/bin:$PATH"
2022

2123
SAVEHIST=10000
2224
HISTFILE="$HOME/shared/.zsh_history"
23-

docker/.docker-conf/main/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ COPY ./keyboard /etc/default/keyboard
2222

2323
# always run apt update when start and after add new source list, then clean up at end.
2424
RUN apt-get update -yqq && \
25-
apt-get install -yqq graphviz curl wget zip unzip zsh vim ruby-full python-pip mysql-client mlocate net-tools xclip sudo libssl-dev && \
25+
apt-get install -yqq graphviz curl wget zip unzip zsh vim ruby-full python-pip mysql-client mlocate net-tools xclip sudo libssl-dev safe-rm && \
2626
# apt-get install -yqq php-imagick php-apcu php${PHP_VERSION}-soap php${PHP_VERSION}-sybase php${PHP_VERSION}-fpm && \
2727
gem update --system && gem install bundler sass && \
28-
pecl channel-update pecl.php.net
28+
pecl channel-update pecl.php.net && \
29+
pip install Pygments
2930

3031
RUN groupadd -g ${PGID} laradock
3132
RUN useradd -u ${PUID} -g laradock -m laradock -G docker_env
@@ -54,6 +55,7 @@ USER laradock
5455

5556
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
5657
COPY ./.zshrc /home/laradock/.zshrc
58+
COPY ./.dir_colors /home/laradock/.dir_colors
5759
ENV ZSH_CUSTOM=/home/laradock/.oh-my-zsh/custom
5860
RUN git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
5961

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,11 @@
11
#! /bin/bash
22

3-
# Colors used for status updates
4-
ESC_SEQ="\x1b["
5-
COL_RESET=$ESC_SEQ"39;49;00m"
6-
COL_RED=$ESC_SEQ"31;01m"
7-
COL_GREEN=$ESC_SEQ"32;01m"
8-
COL_YELLOW=$ESC_SEQ"33;01m"
9-
COL_BLUE=$ESC_SEQ"34;01m"
10-
COL_MAGENTA=$ESC_SEQ"35;01m"
11-
COL_CYAN=$ESC_SEQ"36;01m"
12-
13-
# Detect which `ls` flavor is in use
14-
if ls --color > /dev/null 2>&1; then # GNU `ls`
15-
colorflag="--color"
16-
export LS_COLORS='no=00:fi=00:di=01;31:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:'
17-
else # macOS `ls`
18-
colorflag="-G"
19-
export LSCOLORS='BxBxhxDxfxhxhxhxhxcxcx'
20-
fi
21-
22-
# List all files colorized in long format
23-
#alias l="ls -lF ${colorflag}"
24-
### MEGA: I want l and la ti return hisdden files
25-
alias l="ls -laF ${colorflag}"
26-
27-
# List all files colorized in long format, including dot files
28-
alias la="ls -laF ${colorflag}"
29-
30-
# List only directories
31-
alias lsd="ls -lF ${colorflag} | grep --color=never '^d'"
32-
33-
# Always use color output for `ls`
34-
alias ls="command ls ${colorflag}"
3+
alias ll='ls -alF --color=auto'
4+
alias la='ls -A --color=auto'
5+
alias l='ls -CF --color=auto'
356

367
alias sfcc='bin/console cache:clear --no-warmup && bin/console cache:warmup'
37-
alias asfcc='app/console cache:clear --no-warmup && app/console cache:warmup'
38-
alias serveru='bin/console server:start 0.0.0.0'
39-
alias serverd='bin/console server:stop'
8+
alias sfstart='symfony server:start --no-tls -d'
9+
alias sfstop='symfony server:stop'
4010

11+
alias cat='pygmentize -g'

docker/.docker-conf/main/php-cli.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,4 +1942,3 @@ opcache.revalidate_freq=0
19421942
; Local Variables:
19431943
; tab-width: 4
19441944
; End:
1945-

0 commit comments

Comments
 (0)