Validation initiale
This commit is contained in:
78
misc/dircolors.rc
Normal file
78
misc/dircolors.rc
Normal file
@@ -0,0 +1,78 @@
|
||||
COLOR tty
|
||||
|
||||
# Extra command line options for ls go here.
|
||||
# Basically these ones are:
|
||||
# -F = show '/' for dirs, '*' for executables, etc.
|
||||
# -T 0 = don't trust tab spacing when formatting ls output.
|
||||
OPTIONS -F -T 0
|
||||
|
||||
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||
TERM linux
|
||||
TERM screen
|
||||
TERM console
|
||||
TERM xterm
|
||||
TERM rxvt
|
||||
TERM vt100
|
||||
TERM Eterm
|
||||
|
||||
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
||||
EIGHTBIT 1
|
||||
|
||||
# Below are the color init strings for the basic file types. A color init
|
||||
# string consists of one or more of the following numeric codes:
|
||||
# Attribute codes:
|
||||
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||
# Text color codes:
|
||||
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||
# Background color codes:
|
||||
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||
NORMAL 00 # global default, although everything should be something.
|
||||
FILE 00 # normal file
|
||||
DIR 00;34 # directory
|
||||
LINK 00;35 # symbolic link
|
||||
FIFO 40;33 # pipe
|
||||
SOCK 01;35 # socket
|
||||
BLK 40;33;01 # block device driver
|
||||
CHR 40;33;01 # character device driver
|
||||
|
||||
# This is for files with execute permission:
|
||||
EXEC 01;32
|
||||
|
||||
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||
# to colorize below. Put the extension, a space, and the color init string.
|
||||
# (and any comments you want to add after a '#')
|
||||
|
||||
# Archives
|
||||
.btm 00;32
|
||||
.tar 00;31
|
||||
.tgz 00;31
|
||||
.arj 00;31
|
||||
.gz 00;31
|
||||
.bz2 00;31
|
||||
.zip 00;31
|
||||
|
||||
# Packages
|
||||
.deb 04;35
|
||||
.rpm 04;35
|
||||
|
||||
# Images
|
||||
.jpg 00;35
|
||||
.gif 00;35
|
||||
.bmp 00;35
|
||||
.xbm 00;35
|
||||
.xpm 00;35
|
||||
.tif 00;35
|
||||
.png 00;35
|
||||
|
||||
# movies
|
||||
.avi 04;36
|
||||
|
||||
# Sounds
|
||||
.mp3 00;33
|
||||
.xm 00;33
|
||||
.ogg 00;33
|
||||
|
||||
# Doc
|
||||
.pdf 00;36
|
||||
.PDF 00;36
|
||||
.ps 00;36
|
||||
0
misc/update
Normal file
0
misc/update
Normal file
27
misc/zshist.1
Normal file
27
misc/zshist.1
Normal file
@@ -0,0 +1,27 @@
|
||||
.TH ZSHIST 1
|
||||
.SH ZSHIST
|
||||
zshist \- read .zsh_history file
|
||||
.SH SYNOPSIS
|
||||
.B zshist
|
||||
.I [filename]
|
||||
.SH DESCRIPTION
|
||||
.BR zshist
|
||||
will parse
|
||||
.I filename
|
||||
(expecting it to be .zsh_history file with EXTENDED_HISTORY
|
||||
option set on)
|
||||
and convert timestamps to
|
||||
readable format. As a bonus, it will colourise the output.
|
||||
|
||||
If
|
||||
.I filename
|
||||
is a directory,
|
||||
.BR zshist
|
||||
will append .zsh_history to it and try to parse that file.
|
||||
|
||||
If no filename is given, it will read ~/.zsh_history
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR zsh "(1)
|
||||
.SH AUTHOR
|
||||
Written by Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>
|
||||
48
misc/zshistrc
Normal file
48
misc/zshistrc
Normal file
@@ -0,0 +1,48 @@
|
||||
# delimiters can be any string, you can use colour["colourname"] and + operator
|
||||
# to get interesting colour effects
|
||||
# Colours are one of:
|
||||
# none, default, bold, underline, blink, reverse, concealed,
|
||||
# black, green, yellow, blue, magenta, cyan, white,
|
||||
# on_black, on_green, on_yellow, on_blue, on_magenta, on_cyan,
|
||||
# on_white, beep
|
||||
# on_red means that the background (instead of foreground) is painted
|
||||
# with red etc...
|
||||
|
||||
delim1 = colours["green"] # before time string
|
||||
delim2 = colours["red"]+":" # after time string
|
||||
delim3 = ": "+colours["default"] # before command
|
||||
delim4 = colours["default"] # at the end of line - you'd better leave colours["default"] at the end!
|
||||
delim5 = colours["bold"]+colours["blue"] # before unrecognized line format
|
||||
|
||||
|
||||
# timeformat can contain following directives:
|
||||
#
|
||||
# Directive Meaning
|
||||
# %a Locale's abbreviated weekday name.
|
||||
# %A Locale's full weekday name.
|
||||
# %b Locale's abbreviated month name.
|
||||
# %B Locale's full month name.
|
||||
# %c Locale's appropriate date and time representation.
|
||||
# %d Day of the month as a decimal number [01,31].
|
||||
# %H Hour (24-hour clock) as a decimal number [00,23].
|
||||
# %I Hour (12-hour clock) as a decimal number [01,12].
|
||||
# %j Day of the year as a decimal number [001,366].
|
||||
# %m Month as a decimal number [01,12].
|
||||
# %M Minute as a decimal number [00,59].
|
||||
# %p Locale's equivalent of either AM or PM.
|
||||
# %S Second as a decimal number [00,61].
|
||||
# %U Week number of the year (Sunday as the first day of the week)
|
||||
# as a decimal number [00,53]. All days in a new year preceding
|
||||
# the first Sunday are considered to be in week 0.
|
||||
# %w Weekday as a decimal number [0(Sunday),6].
|
||||
# %W Week number of the year (Monday as the first day of the week)
|
||||
# as a decimal number [00,53]. All days in a new year preceding
|
||||
# the first Sunday are considered to be in week 0.
|
||||
# %x Locale's appropriate date representation.
|
||||
# %X Locale's appropriate time representation.
|
||||
# %y Year without century as a decimal number [00,99].
|
||||
# %Y Year with century as a decimal number.
|
||||
# %Z Time zone name (or by no characters if no time zone exists).
|
||||
# %% %
|
||||
|
||||
timeformat = "%d %b %H:%M:%S"
|
||||
Reference in New Issue
Block a user