Repository: daniruiz/dotfiles
Branch: master
Commit: 1819cbbb5eac
Files: 18
Total size: 31.5 KB
Directory structure:
gitextract_nfvd6_t6/
├── .bashrc
├── .config/
│ ├── bashtop/
│ │ └── bashtop.cfg
│ ├── inkscape/
│ │ └── palettes/
│ │ └── flat-remix-palette.gpl
│ ├── nautilus/
│ │ └── scripts-accels
│ ├── qt5ct/
│ │ └── qt5ct.conf
│ └── tilix/
│ └── schemes/
│ └── Flat-Remix.json
├── .flat-remix-colorscheme.sh
├── .gitattributes
├── .gitconfig
├── .local/
│ └── share/
│ ├── nautilus/
│ │ └── scripts/
│ │ └── Terminal
│ └── qt5ct/
│ ├── colors/
│ │ ├── flat-remix-dark.conf
│ │ └── flat-remix-light.conf
│ └── qss/
│ └── fusion-simple-scrollbar.qss
├── .zshrc
├── LICENSE
├── README.md
├── arch-pkglist.txt
└── install.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .bashrc
================================================
# Configure color-scheme
COLOR_SCHEME=dark # dark/light
# --------------------------------- ALIASES -----------------------------------
alias ..='cd ..'
alias cp='cp -v'
alias rm='rm -I'
alias mv='mv -iv'
alias ln='ln -sriv'
alias xclip='xclip -selection c'
command -v vim > /dev/null && alias vi='vim'
# Shortcut to update my Arch Linux setup
command -v yay > /dev/null && update() {
set -e
yay -Syyu --answerupgrade None --answerclean All --answerdiff None --overwrite="*" flat-remix-gnome
sudo pacman -Rscn $(pacman -Qdqtt) 2>/dev/null
yay -Scc --noconfirm
flatpak update
flatpak remove --unused
}
# Shortcut to update my Debian/Kali setup
command -v apt > /dev/null && update() {
sudo sh -c "
set -e
export DEBIAN_FRONTEND=noninteractive
dpkg --configure -a
apt update
apt -y --fix-broken --fix-missing full-upgrade
apt -y autoremove --purge
apt clean
"
}
### Colorize commands
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias diff='diff --color=auto'
alias ip='ip --color=auto'
alias pacman='pacman --color=auto'
### LS & TREE
alias ll='ls -la'
alias la='ls -A'
alias l='ls -F'
command -v lsd > /dev/null && alias ls='lsd --group-dirs first' && \
alias tree='lsd --tree'
command -v colorls > /dev/null && alias ls='colorls --sd --gs' && \
alias tree='colorls --tree'
### CAT & LESS
command -v bat > /dev/null && \
alias bat='bat --theme=ansi' && \
alias cat='bat --pager=never' && \
alias less='bat'
# in debian the command is batcat
command -v batcat > /dev/null && \
alias batcat='batcat --theme=ansi' && \
alias cat='batcat --pager=never' && \
alias less='batcat'
### TOP
command -v htop > /dev/null && alias top='htop'
command -v gotop > /dev/null && alias top='gotop -p $([ "$COLOR_SCHEME" = "light" ] && echo "-c default-dark")'
command -v ytop > /dev/null && alias top='ytop -p $([ "$COLOR_SCHEME" = "light" ] && echo "-c default-dark")'
command -v btm > /dev/null && alias top='btm $([ "$COLOR_SCHEME" = "light" ] && echo "--color default-light")'
# themes for light/dark color-schemes inside ~/.config/bashtop; Press ESC to open the menu and change the theme
command -v bashtop > /dev/null && alias top='bashtop'
command -v bpytop > /dev/null && alias top='bpytop'
# --------------------------------- SETTINGS ----------------------------------
shopt -s globstar
shopt -s histappend
shopt -s checkwinsize
HISTCONTROL=ignoreboth
HISTSIZE=5000
HISTFILESIZE=5000
HISTFILE=~/.bash_history
# Bash Completion
if [ -f /usr/share/bash-completion/bash_completion ]
then
source /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]
then
source /etc/bash_completion
fi
# Add new line before prompt
PROMPT_COMMAND="PROMPT_COMMAND=echo"
# Prompt
PS1='\[\033[;32m\]┌──(\[\033[1;34m\]\u@\h\[\033[;32m\])-[\[\033[0;1m\]\w\[\033[;32m\]]\n\[\033[;32m\]└─\[\033[1;34m\]\$\[\033[0m\] '
# ----------------------------------- MISC -----------------------------------
export VISUAL=vim
export EDITOR=$VISUAL
# enable terminal linewrap
setterm -linewrap on 2> /dev/null
# colorize man pages
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
export LESSHISTFILE=-
export MANROFFOPT="-c"
# colorize ls
[ -x /usr/bin/dircolors ] && eval "$(dircolors -b)"
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;;
esac
# -------------------------------- FUNCTIONS ---------------------------------
lazygit() {
USAGE="
lazygit [OPTION]... <msg>
GIT but lazy
Options:
--fixup <commit> runs 'git commit --fixup <commit> [...]'
--amend runs 'git commit --amend --no-edit [...]'
-f, --force runs 'git push --force-with-lease [...]'
-h, --help show this help text
"
while [ $# -gt 0 ]
do
key="$1"
case $key in
--fixup)
COMMIT="$2"
shift # past argument
shift # past value
;;
--amend)
AMEND=true
shift # past argument
;;
-f|--force)
FORCE=true
shift # past argument
;;
-h|--help)
echo "$USAGE"
EXIT=true
;;
*)
MESSAGE="$1"
shift # past argument
;;
esac
done
unset key
if [ -z "$EXIT" ]
then
git status .
git add .
if [ -n "$AMEND" ]
then
git commit --amend --no-edit
elif [ -n "$COMMIT" ]
then
git commit --fixup "$COMMIT"
GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash "$COMMIT"^
else
git commit -m "$MESSAGE"
fi
git push origin HEAD $([ -n "$FORCE" ] && echo '--force-with-lease')
fi
unset USAGE COMMIT MESSAGE AMEND FORCE
}
glog() {
setterm -linewrap off 2> /dev/null
git --no-pager log --all --color=always --graph --abbrev-commit --decorate --date-order \
--format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' "$@" \
| sed -E \
-e 's/\|(\x1b\[[0-9;]*m)+\\(\x1b\[[0-9;]*m)+ /├\1─╮\2/' \
-e 's/(\x1b\[[0-9;]+m)\|\x1b\[m\1\/\x1b\[m /\1├─╯\x1b\[m/' \
-e 's/\|(\x1b\[[0-9;]*m)+\\(\x1b\[[0-9;]*m)+/├\1╮\2/' \
-e 's/(\x1b\[[0-9;]+m)\|\x1b\[m\1\/\x1b\[m/\1├╯\x1b\[m/' \
-e 's/╮(\x1b\[[0-9;]*m)+\\/╮\1╰╮/' \
-e 's/╯(\x1b\[[0-9;]*m)+\//╯\1╭╯/' \
-e 's/(\||\\)\x1b\[m (\x1b\[[0-9;]*m)/╰╮\2/' \
-e 's/(\x1b\[[0-9;]*m)\\/\1╮/g' \
-e 's/(\x1b\[[0-9;]*m)\//\1╯/g' \
-e 's/^\*|(\x1b\[m )\*/\1⎬/g' \
-e 's/(\x1b\[[0-9;]*m)\|/\1│/g' \
| command less -r $([ $# -eq 0 ] && echo "+/[^/]HEAD")
setterm -linewrap on 2> /dev/null
}
find() {
if [ $# = 1 ]
then
command find . -iname "*$@*"
else
command find "$@"
fi
}
================================================
FILE: .config/bashtop/bashtop.cfg
================================================
color_theme="flat-remix"
================================================
FILE: .config/inkscape/palettes/flat-remix-palette.gpl
================================================
GIMP Palette
Name: flat-remix-palette
#
255 255 255 #FFFFFF
230 230 230 #E6E6E6
204 204 204 #CCCCCC
179 179 179 #B3B3B3
153 153 153 #999999
128 128 128 #808080
102 102 102 #666666
76 76 76 #4C4C4C
51 51 51 #333333
25 25 25 #191919
0 0 0 #000000
115 118 128 #737680
96 99 110 #60636E
76 79 92 #4C4F5C
56 60 74 #383C4A
51 54 67 #333643
45 48 59 #2D303B
39 42 52 #272A34
189 151 119 #BD9777
180 137 100 #B48964
170 122 80 #AA7A50
161 107 61 #A16B3D
145 97 55 #916137
129 86 49 #815631
113 75 43 #714B2B
149 129 113 #958171
134 112 93 #86705D
119 94 73 #775E49
104 76 53 #684C35
94 69 48 #5E4530
83 61 42 #533D2A
73 53 37 #493525
174 122 196 #AE7AC4
163 104 188 #A368BC
151 85 179 #9755B3
140 66 171 #8C42AB
126 60 154 #7E3C9A
112 53 137 #703589
98 46 120 #622E78
205 92 129 #CD5C81
198 69 112 #C64570
191 46 94 #BF2E5E
184 23 76 #B8174C
166 21 69 #A61545
147 18 61 #93123D
129 16 53 #811035
225 94 94 #E15E5E
221 71 71 #DD4747
216 48 48 #D83030
212 25 25 #D41919
191 23 23 #BF1717
170 20 20 #AA1414
149 18 18 #951212
254 113 113 #FE7171
253 93 93 #FD5D5D
253 73 73 #FD4949
253 53 53 #FD3535
228 48 48 #E43030
202 42 42 #CA2A2A
178 37 37 #B22525
254 164 76 #FEA44C
253 151 51 #FD9733
253 138 25 #FD8A19
253 125 0 #FD7D00
255 216 110 #FFD86E
255 210 89 #FFD259
255 204 68 #FFCC44
255 199 48 #FFC730
250 232 149 #FAE895
249 229 134 #F9E586
249 225 119 #F9E177
248 222 104 #F8DE68
84 189 142 #54BD8E
61 180 126 #3DB47E
36 170 110 #24AA6E
12 161 94 #0CA15E
11 145 85 #0B9155
10 129 75 #0A814B
8 113 66 #087142
94 189 171 #5EBDAB
71 180 159 #47B49F
48 170 147 #30AA93
25 161 135 #19A187
23 145 122 #17917A
20 129 108 #14816C
18 113 95 #12715F
101 207 212 #65CFD4
79 200 206 #4FC8CE
57 193 200 #39C1C8
35 186 194 #23BAC2
32 168 175 #20A8AF
28 149 155 #1C959B
25 131 136 #198388
128 198 237 #80C6ED
110 190 235 #6EBEEB
92 182 232 #5CB6E8
74 174 230 #4AAEE6
67 157 207 #439DCF
59 139 184 #3B8BB8
52 122 161 #347AA1
114 162 244 #72A2F4
94 149 243 #5E95F3
74 136 241 #4A88F1
54 123 240 #367BF0
49 111 216 #316FD8
43 98 192 #2B62C0
38 86 168 #2656A8
103 139 200 #678BC8
81 123 193 #517BC1
59 106 185 #3B6AB9
38 90 177 #265AB1
34 81 160 #2251A0
30 72 142 #1E488E
27 63 124 #1B3F7C
91 115 157 #5B739D
68 96 143 #44608F
44 76 129 #2C4C81
21 56 115 #153873
19 51 104 #133368
17 45 92 #112D5C
15 39 81 #0F2751
================================================
FILE: .config/nautilus/scripts-accels
================================================
F4 Terminal
================================================
FILE: .config/qt5ct/qt5ct.conf
================================================
[Appearance]
custom_palette=true
icon_theme=Flat-Remix-Blue-Dark
color_scheme_path=/usr/share/qt5ct/colors/flat-remix-light.conf
standard_dialogs=default
style=Fusion
[Interface]
stylesheets=/usr/share/qt5ct/qss/fusion-simple-scrollbar.qss
[Fonts]
fixed=@Variant(\0\0\0@\0\0\0\x12\0\x46\0i\0r\0\x61\0 \0\x43\0o\0\x64\0\x65@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x39\x10)
general=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@&\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
================================================
FILE: .config/tilix/schemes/Flat-Remix.json
================================================
{
"background-color": "#272A34",
"badge-color": "#AC7EA8",
"bold-color": "#FFFFFF",
"comment": "",
"cursor-background-color": "#000000",
"cursor-foreground-color": "#FFFFFF",
"foreground-color": "#FFFFFF",
"highlight-background-color": "#000000",
"highlight-foreground-color": "#FFFFFF",
"name": "Flat-Remix",
"palette": [
"#1F2229",
"#D41919",
"#5EBDAB",
"#FEA44C",
"#367bf0",
"#9755b3",
"#49AEE6",
"#E6E6E6",
"#198388",
"#EC0101",
"#47D4B9",
"#FF8A18",
"#277FFF",
"#962ac3",
"#05A1F7",
"#FFFFFF"
],
"use-badge-color": false,
"use-bold-color": false,
"use-cursor-color": false,
"use-highlight-color": false,
"use-theme-colors": true
}
================================================
FILE: .flat-remix-colorscheme.sh
================================================
#!/usr/bin/env bash
# ====================CONFIG THIS =============================== #
export COLOR_01="#1F2229" # Black
export COLOR_02="#D41919" # Red
export COLOR_03="#5EBDAB" # Green
export COLOR_04="#FEA44C" # Yellow
export COLOR_05="#367bf0" # Blue
export COLOR_06="#9755b3" # Magenta
export COLOR_07="#49AEE6" # Cyan
export COLOR_08="#E6E6E6" # Light gray
export COLOR_09="#198388" # Dark gray
export COLOR_10="#EC0101" # Light Red
export COLOR_11="#47D4B9" # Light Green
export COLOR_12="#FF8A18" # Light Yellow
export COLOR_13="#277FFF" # Light Blue
export COLOR_14="#962ac3" # Light Magenta
export COLOR_15="#05A1F7" # Light Cyan
export COLOR_16="#FFFFFF" # White
export BACKGROUND_COLOR="#272a34" # Background Color
export FOREGROUND_COLOR="#FFFFFF" # Foreground Color (text)
export CURSOR_COLOR="$FOREGROUND_COLOR" # Cursor color
export PROFILE_NAME="Flat Remix"
# =============================================================== #
# =============================================================== #
# | Apply Colors
# ===============================================================|#
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}"
PARENT_PATH="$(dirname "${SCRIPT_PATH}")"
# Allow developer to change url to forked url for easier testing
# IMPORTANT: Make sure you export this variable if your main shell is not bash
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# Linux ships with wget
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
fi
fi
================================================
FILE: .gitattributes
================================================
*.gif diff=image
*.jpg diff=image
*.png diff=image
*.svg diff=image
================================================
FILE: .gitconfig
================================================
[core]
attributesfile = ~/.gitattributes
pager = delta
[user]
email =
name =
[credential]
helper = cache --timeout=3600
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[interactive]
diffFilter = delta --color-only
[pull]
rebase = true
[diff]
colorMoved = default
[diff "image"]
command = compare $2 $1 png:- | montage -geometry +4+4 $2 - $1 png:- | display -title \"$1\" -
[merge]
conflictstyle = diff3
ff = no
commit = no
[delta]
navigate = true
light = false
line-numbers = true
================================================
FILE: .local/share/nautilus/scripts/Terminal
================================================
#!/bin/sh
gnome-terminal
================================================
FILE: .local/share/qt5ct/colors/flat-remix-dark.conf
================================================
[ColorScheme]
active_colors=#ffffffff, #ff1c2029, #ff3c4150, #ff21242d, #ff050609, #ff15171e, #ffffffff, #ffffffff, #ffffffff, #ff272a34, #ff23252e, #ffe7e4e0, #ff2777ff, #fff9f9f9, #ff2777ff, #ff2777ff, #ff21242d, #ffffffff, #ff23252e, #ffffffff, #80ffffff
disabled_colors=#ff808080, #ff1c2029, #ff3c4150, #ff21242d, #ff050609, #ff15171e, #ff808080, #ffffffff, #ff808080, #ff272a34, #ff23252e, #ffe7e4e0, #ff2777ff, #ff808080, #ff2777ff, #ff2777ff, #ff21242d, #ffffffff, #ff23252e, #ffffffff, #80ffffff
inactive_colors=#ffffffff, #ff1c2029, #ff3c4150, #ff21242d, #ff050609, #ff15171e, #ffffffff, #ffffffff, #ffffffff, #ff272a34, #ff23252e, #ffe7e4e0, #ff2777ff, #fff9f9f9, #ff2777ff, #ff2777ff, #ff21242d, #ffffffff, #ff23252e, #ffffffff, #80ffffff
================================================
FILE: .local/share/qt5ct/colors/flat-remix-light.conf
================================================
[ColorScheme]
active_colors=#ff000000, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ff000000, #ff0a0a0a, #ff0a0a0a, #fffafafa, #ffffffff, #ffe7e4e0, #ff2777ff, #ffffffff, #ff2777ff, #ff2777ff, #fffafafa, #ffffffff, #ffffffff, #ff050505, #80000000
disabled_colors=#ff808080, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ff808080, #ff0a0a0a, #ff808080, #fffafafa, #ffffffff, #ffe7e4e0, #ff2777ff, #ff808080, #ff2777ff, #ff2777ff, #fffafafa, #ffffffff, #ffffffff, #ff050505, #80000000
inactive_colors=#ff000000, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ff000000, #ff0a0a0a, #ff0a0a0a, #fffafafa, #ffffffff, #ffe7e4e0, #ff2777ff, #ffffffff, #ff2777ff, #ff2777ff, #fffafafa, #ffffffff, #ffffffff, #ff050505, #80000000
================================================
FILE: .local/share/qt5ct/qss/fusion-simple-scrollbar.qss
================================================
QScrollBar { background: transparent; }
QScrollBar:vertical { max-width: 8px; }
QScrollBar:horizontal { max-height: 8px; }
QScrollBar::handle {
padding: 0;
margin: 2px;
border-radius: 2px;
border: 0;
background: rgba(127, 127, 127, .5);
min-height: 20px;
min-width: 20px;
}
QScrollBar::handle:hover { background: rgba(127, 127, 127, 1); }
QScrollBar::handle:pressed { background: palette(highlight); }
QScrollBar::add-line , QScrollBar::sub-line {
height: 0;
border: 0;
}
QScrollBar::up-arrow, QScrollBar::down-arrow {
border: 0;
width: 0;
height: 0;
}
QScrollBar::add-page, QScrollBar::sub-page { background: none; }
================================================
FILE: .zshrc
================================================
# Configure color-scheme
COLOR_SCHEME=dark # dark/light
# --------------------------------- ALIASES -----------------------------------
alias ..='cd ..'
alias cp='cp -v'
alias rm='rm -I'
alias mv='mv -iv'
alias ln='ln -sriv'
alias xclip='xclip -selection c'
command -v vim > /dev/null && alias vi='vim'
# Shortcut to update my Arch Linux setup
command -v yay > /dev/null && update() {
set -e
yay -Syyu --answerupgrade None --answerclean All --answerdiff None --overwrite="*" flat-remix-gnome
sudo pacman -Rscn $(pacman -Qdqtt) 2>/dev/null
yay -Scc --noconfirm
flatpak update
flatpak remove --unused
}
# Shortcut to update my Debian/Kali setup
command -v apt > /dev/null && update() {
sudo sh -c "
set -e
export DEBIAN_FRONTEND=noninteractive
dpkg --configure -a
apt update
apt -y --fix-broken --fix-missing full-upgrade
apt -y autoremove --purge
apt clean
"
}
### Colorize commands
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias diff='diff --color=auto'
alias ip='ip --color=auto'
alias pacman='pacman --color=auto'
### LS & TREE
alias ll='ls -la'
alias la='ls -A'
alias l='ls -F'
command -v lsd > /dev/null && alias ls='lsd --group-dirs first' && \
alias tree='lsd --tree'
command -v colorls > /dev/null && alias ls='colorls --sd --gs' && \
alias tree='colorls --tree'
### CAT & LESS
command -v bat > /dev/null && \
alias bat='bat --theme=ansi' && \
alias cat='bat --pager=never' && \
alias less='bat'
# in debian the command is batcat
command -v batcat > /dev/null && \
alias batcat='batcat --theme=ansi' && \
alias cat='batcat --pager=never' && \
alias less='batcat'
### TOP
command -v htop > /dev/null && alias top='htop'
command -v gotop > /dev/null && alias top='gotop -p $([ "$COLOR_SCHEME" = "light" ] && echo "-c default-dark")'
command -v ytop > /dev/null && alias top='ytop -p $([ "$COLOR_SCHEME" = "light" ] && echo "-c default-dark")'
command -v btm > /dev/null && alias top='btm $([ "$COLOR_SCHEME" = "light" ] && echo "--color default-light")'
# themes for light/dark color-schemes inside ~/.config/bashtop; Press ESC to open the menu and change the theme
command -v bashtop > /dev/null && alias top='bashtop'
command -v bpytop > /dev/null && alias top='bpytop'
# --------------------------------- SETTINGS ----------------------------------
setopt AUTO_CD
setopt BEEP
#setopt CORRECT
setopt HIST_BEEP
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_FIND_NO_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_DUPS
setopt HIST_REDUCE_BLANKS
setopt HIST_SAVE_NO_DUPS
setopt HIST_VERIFY
setopt INC_APPEND_HISTORY
setopt INTERACTIVE_COMMENTS
setopt MAGIC_EQUAL_SUBST
setopt NO_NO_MATCH
setopt NOTIFY
setopt NUMERIC_GLOB_SORT
setopt PROMPT_SUBST
setopt SHARE_HISTORY
HISTFILE=~/.zsh_history
HIST_STAMPS=mm/dd/yyyy
HISTSIZE=5000
SAVEHIST=5000
ZLE_RPROMPT_INDENT=0
WORDCHARS='_-'
PROMPT_EOL_MARK=
TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
# ZSH completion system
autoload -Uz compinit
compinit -d ~/.cache/zcompdump
zstyle ':completion:*:*:*:*:*' menu select
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' rehash true
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Key bindings
bindkey -e
bindkey '^U' backward-kill-line
bindkey '^[[2~' overwrite-mode
bindkey '^[[3~' delete-char
bindkey '^[[H' beginning-of-line
bindkey '^[[1~' beginning-of-line
bindkey '^[[F' end-of-line
bindkey '^[[4~' end-of-line
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
bindkey '^[[3;5~' kill-word
bindkey '^[[5~' beginning-of-buffer-or-history
bindkey '^[[6~' end-of-buffer-or-history
bindkey '^[[Z' undo
bindkey ' ' magic-space
# Prompt
PROMPT=$'%F{%(#.blue.green)}┌──(%B%F{%(#.red.blue)}%n@%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '
RPROMPT=$'%(?.. %? %F{red}%Bx%b%F{reset})%(1j. %j %F{yellow}%Bbg %b%F{reset}.)'
# ----------------------------------- MISC -----------------------------------
export VISUAL=vim
export EDITOR=$VISUAL
# enable terminal linewrap
setterm -linewrap on 2> /dev/null
# colorize man pages
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
export LESSHISTFILE=-
export MANROFFOPT="-c"
# colorize ls
[ -x /usr/bin/dircolors ] && eval "$(dircolors -b)"
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)
precmd() { print -Pnr -- $'\e]0;%n@%m: %~\a' }
;;
esac
# ------------------------------- ZSH PLUGINS ---------------------------------
# Plugin source helper
_source_plugin() {
local plugin_name="$1"
for basedir in /usr/share/zsh/plugins /usr/share
do
plugin="$basedir/$plugin_name/$plugin_name.zsh"
[ -f "$plugin" ] && source "$plugin" && return 0
done
echo "\033[33m[ ! ]\033[0m ZSH ${plugin_name#zsh-} not installed"
return 1
}
# ZSH Autosuggestions
_source_plugin zsh-autosuggestions && ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=244'
# ZSH Syntax Highlighting
if _source_plugin zsh-syntax-highlighting
then
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
ZSH_HIGHLIGHT_STYLES[default]=none
ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=white,underline
ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold
ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=green,underline
ZSH_HIGHLIGHT_STYLES[global-alias]=fg=green,bold
ZSH_HIGHLIGHT_STYLES[precommand]=fg=green,underline
ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=green,underline
ZSH_HIGHLIGHT_STYLES[path]=bold
ZSH_HIGHLIGHT_STYLES[path_pathseparator]=
ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=
ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[command-substitution]=none
ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[process-substitution]=none
ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=green
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=green
ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none
ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=yellow
ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=yellow
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]=fg=yellow
ZSH_HIGHLIGHT_STYLES[rc-quote]=fg=magenta
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[assign]=none
ZSH_HIGHLIGHT_STYLES[redirection]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[comment]=fg=black,bold
ZSH_HIGHLIGHT_STYLES[named-fd]=none
ZSH_HIGHLIGHT_STYLES[numeric-fd]=none
ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan
ZSH_HIGHLIGHT_STYLES[bracket-error]=fg=red,bold
ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=blue,bold
ZSH_HIGHLIGHT_STYLES[bracket-level-2]=fg=green,bold
ZSH_HIGHLIGHT_STYLES[bracket-level-3]=fg=magenta,bold
ZSH_HIGHLIGHT_STYLES[bracket-level-4]=fg=yellow,bold
ZSH_HIGHLIGHT_STYLES[bracket-level-5]=fg=cyan,bold
ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout
fi
unset -f _source_plugin
# POWERLEVEL
if ! [[ $(tty) = /dev/tty* ]]
then
if source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme 2> /dev/null
then
s=' ' # fix too wide icons
POWERLEVEL9K_MODE=nerdfont-complete
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_beginning
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='${P9K_CONTENT} $(whoami | grep -v "^root\$")'
POWERLEVEL9K_OS_ICON_BACKGROUND=red
POWERLEVEL9K_OS_ICON_FOREGROUND=white
POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND=black
POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND=red
POWERLEVEL9K_SSH_BACKGROUND=white
POWERLEVEL9K_SSH_FOREGROUND=blue
POWERLEVEL9K_FOLDER_ICON=
POWERLEVEL9K_DIR_BACKGROUND=blue
POWERLEVEL9K_DIR_FOREGROUND=black
POWERLEVEL9K_DIR_WRITABLE_BACKGROUND=black
POWERLEVEL9K_DIR_WRITABLE_FOREGROUND=red
POWERLEVEL9K_VCS_CLEAN_FOREGROUND=black
POWERLEVEL9K_VCS_CLEAN_BACKGROUND=green
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=black
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=yellow
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=white
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=black
POWERLEVEL9K_VCS_UNTRACKED_ICON=●
POWERLEVEL9K_VCS_UNSTAGED_ICON=±
POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON=↓
POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON=↑
POWERLEVEL9K_VCS_COMMIT_ICON=$s
POWERLEVEL9K_STATUS_VERBOSE=false
POWERLEVEL9K_STATUS_VERBOSE=false
POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true
POWERLEVEL9K_EXECUTION_TIME_ICON=$s
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND=black
POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=blue
POWERLEVEL9K_COMMAND_BACKGROUND_JOBS_BACKGROUND=black
POWERLEVEL9K_COMMAND_BACKGROUND_JOBS_FOREGROUND=cyan
POWERLEVEL9K_TIME_ICON=
POWERLEVEL9K_TIME_FORMAT='%D{%I:%M}'
POWERLEVEL9K_TIME_BACKGROUND=black
POWERLEVEL9K_TIME_FOREGROUND=white
POWERLEVEL9K_RAM_ICON=
POWERLEVEL9K_RAM_FOREGROUND=black
POWERLEVEL9K_RAM_BACKGROUND=yellow
POWERLEVEL9K_VI_MODE_FOREGROUND=black
POWERLEVEL9K_VI_COMMAND_MODE_STRING=NORMAL
POWERLEVEL9K_VI_MODE_NORMAL_BACKGROUND=green
POWERLEVEL9K_VI_VISUAL_MODE_STRING=VISUAL
POWERLEVEL9K_VI_MODE_VISUAL_BACKGROUND=blue
POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERTYPE
POWERLEVEL9K_VI_MODE_OVERWRITE_BACKGROUND=red
POWERLEVEL9K_VI_INSERT_MODE_STRING=
POWERLEVEL9K_LEFT_PROMPT_FIRST_SEGMENT_START_SYMBOL='\uE0B2'
POWERLEVEL9K_RIGHT_PROMPT_LAST_SEGMENT_END_SYMBOL='\uE0B0'
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%F{blue}╭─'
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%F{blue}╰%f '
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon root_indicator ssh dir dir_writable vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(vi_mode status command_execution_time background_jobs time ram)
unset s
else
echo '\033[33m[ ! ]\033[0m ZSH powerlevel10k not installed'
fi
else
clear
echo
echo
fi
switch_powerlevel_multiline_prompt(){
[ $POWERLEVEL9K_PROMPT_ON_NEWLINE = true ] \
&& POWERLEVEL9K_PROMPT_ON_NEWLINE=false \
|| POWERLEVEL9K_PROMPT_ON_NEWLINE=true
zle && zle accept-line
}
zle -N switch_powerlevel_multiline_prompt
bindkey ^P switch_powerlevel_multiline_prompt
# -------------------------------- FUNCTIONS ---------------------------------
lazygit() {
USAGE="
lazygit [OPTION]... <msg>
GIT but lazy
Options:
--fixup <commit> runs 'git commit --fixup <commit> [...]'
--amend runs 'git commit --amend --no-edit [...]'
-f, --force runs 'git push --force-with-lease [...]'
-h, --help show this help text
"
while [ $# -gt 0 ]
do
key="$1"
case $key in
--fixup)
COMMIT="$2"
shift # past argument
shift # past value
;;
--amend)
AMEND=true
shift # past argument
;;
-f|--force)
FORCE=true
shift # past argument
;;
-h|--help)
echo "$USAGE"
EXIT=true
break
;;
*)
MESSAGE="$1"
shift # past argument
;;
esac
done
unset key
if [ -z "$EXIT" ]
then
git status .
git add .
if [ -n "$AMEND" ]
then
git commit --amend --no-edit
elif [ -n "$COMMIT" ]
then
git commit --fixup "$COMMIT"
GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash "$COMMIT"^
else
git commit -m "$MESSAGE"
fi
git push origin HEAD $([ -n "$FORCE" ] && echo '--force-with-lease')
fi
unset USAGE COMMIT MESSAGE AMEND FORCE
}
glog() {
setterm -linewrap off 2> /dev/null
git --no-pager log --all --color=always --graph --abbrev-commit --decorate --date-order \
--format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' "$@" \
| sed -E \
-e 's/\|(\x1b\[[0-9;]*m)+\\(\x1b\[[0-9;]*m)+ /├\1─╮\2/' \
-e 's/(\x1b\[[0-9;]+m)\|\x1b\[m\1\/\x1b\[m /\1├─╯\x1b\[m/' \
-e 's/\|(\x1b\[[0-9;]*m)+\\(\x1b\[[0-9;]*m)+/├\1╮\2/' \
-e 's/(\x1b\[[0-9;]+m)\|\x1b\[m\1\/\x1b\[m/\1├╯\x1b\[m/' \
-e 's/╮(\x1b\[[0-9;]*m)+\\/╮\1╰╮/' \
-e 's/╯(\x1b\[[0-9;]*m)+\//╯\1╭╯/' \
-e 's/(\||\\)\x1b\[m (\x1b\[[0-9;]*m)/╰╮\2/' \
-e 's/(\x1b\[[0-9;]*m)\\/\1╮/g' \
-e 's/(\x1b\[[0-9;]*m)\//\1╯/g' \
-e 's/^\*|(\x1b\[m )\*/\1⎬/g' \
-e 's/(\x1b\[[0-9;]*m)\|/\1│/g' \
| command less -r $([ $# -eq 0 ] && echo "+/[^/]HEAD")
setterm -linewrap on 2> /dev/null
}
find() {
if [ $# = 1 ]
then
command find . -iname "*$@*"
else
command find "$@"
fi
}
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2020 Daniel Ruiz de Alegría
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
~/.dotfiles
===============================
# More information at [drasite.com/dotfiles](https://drasite.com/dotfiles)
Bear in mind that I use this repository to save my own configuration files, and some of them might not work out of the box for you. If you want a guide about how to customize your terminal on your taste, you can follow this post:
# Post about terminal customizations: [drasite.com/blog/Pimp my terminal](https://drasite.com/blog/Pimp%20my%20terminal)
<p align="center">
<a href="https://drasite.com/blog/Pimp%20my%20terminal">
<img alt="Pimp my terminal post" src="https://raw.githubusercontent.com/daniruiz/dotfiles/master/Screenshots/pimp-my-term.png">
</a>
</p>
<p align="center">
<img alt="terminal preview" src="https://raw.githubusercontent.com/daniruiz/dotfiles/master/Screenshots/terminal.png">
</p>
<p align="center">
<img alt="dotfiles tree" src="https://raw.githubusercontent.com/daniruiz/dotfiles/master/Screenshots/tree.png">
</p>
================================================
FILE: arch-pkglist.txt
================================================
# Package list for my custom arch + gnome installation
# Useful commands
# * Get manually installed packages:
# $ pacman -Qettq
# * Show manually installed packages not in this list
# $ comm <(grep -v '^#' arch-pkglist.txt | sort) <(pacman -Qettq | sort) -13
# * Install all packages (you need yay installed)
# $ yay -S $(grep -v '^#' arch-pkglist.txt | xargs)
# BASE
base
base-devel
dash
efibootmgr
grub
linux
linux-firmware
# GNOME
baobab
file-roller
flatpak
fwupd
gdm
geary
gnome-calculator
gnome-calendar
gnome-clocks
gnome-control-center
gnome-disk-utility
gnome-font-viewer
gnome-keyring
gnome-music
gnome-shell
gnome-shell-extensions
gnome-software
gnome-terminal
gnome-text-editor
gnome-tweaks
gnome-user-share
gnome-weather
grilo-plugins
gvfs-afc
gvfs-goa
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
libgit2-glib
loupe
mission-center
nautilus
networkmanager
papers
rygel
seahorse
showtime
sushi
xdg-desktop-portal-gnome
xdg-user-dirs-gtk
# ZSH & TERMINAL
bat
bottom
lsd
man-db
mlocate
openbsd-netcat
vim
wget
xclip
zsh
zsh-autosuggestions
zsh-syntax-highlighting
zsh-theme-powerlevel10k
# OTHER
git-delta
jack2
ntfs-3g
qt5ct
unrar
wireplumber
# Fonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
ttf-firacode-nerd
# ========== #
# AUR #
# ========== #
chrome
dashbinsh
flat-remix
flat-remix-gnome
gnome-browser-connector
yay
================================================
FILE: install.sh
================================================
#!/bin/sh
cp -rfv .config .local ~/
for i in .bashrc .zshrc .gitconfig .gitattributes
do
ln -rsfv $i ~/$i
sudo ln -rsfv $i /root/$i
done
echo Configure QT theme
grep -q QT_QPA_PLATFORMTHEME=qt5ct /etc/environment \
|| echo QT_QPA_PLATFORMTHEME=qt5ct | sudo tee -a /etc/environment
sudo cp -rv .local/share/qt5ct /usr/share
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
gitextract_nfvd6_t6/ ├── .bashrc ├── .config/ │ ├── bashtop/ │ │ └── bashtop.cfg │ ├── inkscape/ │ │ └── palettes/ │ │ └── flat-remix-palette.gpl │ ├── nautilus/ │ │ └── scripts-accels │ ├── qt5ct/ │ │ └── qt5ct.conf │ └── tilix/ │ └── schemes/ │ └── Flat-Remix.json ├── .flat-remix-colorscheme.sh ├── .gitattributes ├── .gitconfig ├── .local/ │ └── share/ │ ├── nautilus/ │ │ └── scripts/ │ │ └── Terminal │ └── qt5ct/ │ ├── colors/ │ │ ├── flat-remix-dark.conf │ │ └── flat-remix-light.conf │ └── qss/ │ └── fusion-simple-scrollbar.qss ├── .zshrc ├── LICENSE ├── README.md ├── arch-pkglist.txt └── install.sh
Condensed preview — 18 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (36K chars).
[
{
"path": ".bashrc",
"chars": 6037,
"preview": "\n# Configure color-scheme\nCOLOR_SCHEME=dark # dark/light\n\n\n# --------------------------------- ALIASES -----------------"
},
{
"path": ".config/bashtop/bashtop.cfg",
"chars": 25,
"preview": "color_theme=\"flat-remix\"\n"
},
{
"path": ".config/inkscape/palettes/flat-remix-palette.gpl",
"chars": 2664,
"preview": "GIMP Palette\nName: flat-remix-palette\n#\n255 255 255 #FFFFFF\n230 230 230 #E6E6E6\n204 204 204 #CCCCCC "
},
{
"path": ".config/nautilus/scripts-accels",
"chars": 12,
"preview": "F4 Terminal\n"
},
{
"path": ".config/qt5ct/qt5ct.conf",
"chars": 493,
"preview": "[Appearance]\ncustom_palette=true\nicon_theme=Flat-Remix-Blue-Dark\ncolor_scheme_path=/usr/share/qt5ct/colors/flat-remix-li"
},
{
"path": ".config/tilix/schemes/Flat-Remix.json",
"chars": 832,
"preview": "{\n \"background-color\": \"#272A34\",\n \"badge-color\": \"#AC7EA8\",\n \"bold-color\": \"#FFFFFF\",\n \"comment\": \"\",\n \""
},
{
"path": ".flat-remix-colorscheme.sh",
"chars": 1950,
"preview": "#!/usr/bin/env bash\n\n# ====================CONFIG THIS =============================== #\nexport COLOR_01=\"#1F2229\" "
},
{
"path": ".gitattributes",
"chars": 68,
"preview": "*.gif diff=image\n*.jpg diff=image\n*.png diff=image\n*.svg diff=image\n"
},
{
"path": ".gitconfig",
"chars": 552,
"preview": "[core]\n\tattributesfile = ~/.gitattributes\n\tpager = delta\n\n[user]\n\temail = \n\tname = \n\n[credential]\n\thelper = cache --time"
},
{
"path": ".local/share/nautilus/scripts/Terminal",
"chars": 25,
"preview": "#!/bin/sh\ngnome-terminal\n"
},
{
"path": ".local/share/qt5ct/colors/flat-remix-dark.conf",
"chars": 750,
"preview": "[ColorScheme]\nactive_colors=#ffffffff, #ff1c2029, #ff3c4150, #ff21242d, #ff050609, #ff15171e, #ffffffff, #ffffffff, #fff"
},
{
"path": ".local/share/qt5ct/colors/flat-remix-light.conf",
"chars": 750,
"preview": "[ColorScheme]\nactive_colors=#ff000000, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ffffffff, #ff000000, #ff0a0a0a, #ff0"
},
{
"path": ".local/share/qt5ct/qss/fusion-simple-scrollbar.qss",
"chars": 647,
"preview": "QScrollBar { background: transparent; }\n\nQScrollBar:vertical { max-width: 8px; }\nQScrollBar:horizontal { max-height: 8px"
},
{
"path": ".zshrc",
"chars": 13619,
"preview": "\n# Configure color-scheme\nCOLOR_SCHEME=dark # dark/light\n\n\n# --------------------------------- ALIASES -----------------"
},
{
"path": "LICENSE",
"chars": 1079,
"preview": "MIT License\n\nCopyright (c) 2020 Daniel Ruiz de Alegría\n\nPermission is hereby granted, free of charge, to any person obta"
},
{
"path": "README.md",
"chars": 982,
"preview": " ~/.dotfiles\n===============================\n# More information at [drasite.com/dotfiles](https://drasite.com/dotfiles)\n"
},
{
"path": "arch-pkglist.txt",
"chars": 1377,
"preview": "# Package list for my custom arch + gnome installation\n# Useful commands\n# * Get manually installed packages:\n# $ pacm"
},
{
"path": "install.sh",
"chars": 426,
"preview": "#!/bin/sh\n\ncp -rfv .config .local ~/\nfor i in .bashrc .zshrc .gitconfig .gitattributes\ndo\n ln -rsfv $i ~/$i\n sudo ln -"
}
]
About this extraction
This page contains the full source code of the daniruiz/dotfiles GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 18 files (31.5 KB), approximately 12.2k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.