Compare commits

..

No commits in common. "master" and "smith" have entirely different histories.

6 changed files with 3 additions and 172 deletions

View File

@ -226,3 +226,5 @@ hardstatus alwayslastline '%{= .kC}%H%{= .Kw}[%?%EESC%: %?]%{= .Bw}%?%-Lw%?%{=
#hardstatus alwayslastline "%{bk} %S %{kb} $LOGNAME %{bk} %H %?%{kb}%{kY} %-Lw%{Yk}%:%{Yb}%{Yk}%?%{Yk} %n%f* %t %{kY}%+Lw %-=" #hardstatus alwayslastline "%{bk} %S %{kb} $LOGNAME %{bk} %H %?%{kb}%{kY} %-Lw%{Yk}%:%{Yb}%{Yk}%?%{Yk} %n%f* %t %{kY}%+Lw %-="

1
1/2.txt Normal file
View File

@ -0,0 +1 @@
22

View File

@ -28,11 +28,6 @@ git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerl
#POWERLEVEL9K_DIR_ETC_BACKGROUND="steelblue" #POWERLEVEL9K_DIR_ETC_BACKGROUND="steelblue"
#POWERLEVEL9K_VCS_BACKENDS=(git hg) #POWERLEVEL9K_VCS_BACKENDS=(git hg)
#POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD="true" #POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD="true"
##POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs)
##POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history)
# Полезно выключит лессу очистку после выхода:
#LESS="$LESS -X"
# Это нужно только на десктопе с терминалами, на серверах шрифты не нужны! # Это нужно только на десктопе с терминалами, на серверах шрифты не нужны!
git clone https://github.com/powerline/fonts.git --depth=1 && cd fonts && ./install.sh git clone https://github.com/powerline/fonts.git --depth=1 && cd fonts && ./install.sh
@ -49,13 +44,5 @@ ln -s ~/skel/.tmux.conf ~/
# zsh completions for cbsd # zsh completions for cbsd
mkdir ~/.oh-my-zsh/completions mkdir ~/.oh-my-zsh/completions
ln -sf /usr/local/cbsd/share/autocompletion/zsh/_cbsd ~/.oh-my-zsh/completions/_cbsd ln -sf /usr/local/cbsd/share/autocompletion/zsh/_cbsd ~/.oh-my-zsh/completions/_cbsd
autoload -U compinit\n
compinit
# Все облегчается, если использовать playbook ansible и antigen
ansible-galaxy install gantsign.oh-my-zsh
ansible-galaxy install gantsign.antigen
ansible-galaxy install gantsign.antigen_bundles
ansible-playbook --ask-pass -b -K --limit="host1,host2" ./skel.yml
``` ```

View File

@ -1,75 +0,0 @@
- hosts: all
tasks:
- name: apt update
apt: update_cache=true
- name: Install list of packages
become: yes
package:
name: '{{ item }}'
state: present
with_items:
- locales
- vim
- mdadm
- sudo
- ssh
- dpkg-dev
- linux-headers-generic
- linux-image-generic
- console-cyrillic
- tasksel
- man
- nload
- sysstat
- htop
- iotop
- build-essential
- tmux
- mtr-tiny
- screen
- zsh
- mc
- git
- wget
- software-properties-common
- traceroute
- gawk
- aptitude
- fakeroot
- build-essential
- git
- libncurses5
- libncurses5-dev
- libnewt-dev
- libnet-ip-perl
- libproc-daemon-perl
- libproc-pid-file-perl
- libswitch-perl
- libdbd-mysql
- libdbi-perl
- libdbd-mysql-perl
- dkms
- iptables-dev
- pkg-config
- ipset
- iptables-persistent
- ethstats
- ethtool
- libelf-dev
- curl
- whois
- ldap-utils
- snmp
- snmp-mibs-downloader
- tcpdump
- links
- mailutils
- hashalot
- qemu-guest-agent
- dnsutils
- checkinstall
- net-tools
- snmpd
- apt-transport-https
- libuser

1
skel

@ -1 +0,0 @@
Subproject commit 7d20636d6eb4885808ae4fae699ef34c4b96f07a

View File

@ -1,83 +0,0 @@
- hosts: all
tasks:
- name: apt update
apt: update_cache=true
become: yes
- name: Install list of packages
apt: name=powerline state=present update_cache=true
become: yes
with_items:
- zsh
- git
- mercurial
- tmux
- screen
- hosts: all
roles:
- role: gantsign.antigen
antigen_version: '2.2.3'
antigen_redis_sha256sum: 'bd3f1077050d52f459bc30fa3f025c44c528d625b4924a2f487fd2bacb89d61e'
users:
- username: zaika
antigen_libraries:
- name: oh-my-zsh
env:
DISABLE_AUTO_UPDATE: '"true"' # Optional (this was hard-coded in the .zshrc of the `gantsign.oh-my-zsh` role)
DISABLE_AUTO_TITLE: '"true"'
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND: '"steelblue"'
POWERLEVEL9K_DIR_HOME_BACKGROUND: '"steelblue"'
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND: '"steelblue"'
POWERLEVEL9K_DIR_ETC_BACKGROUND: '"steelblue"'
POWERLEVEL9K_VCS_BACKENDS: '(git hg)'
POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD: '"true"'
POWERLEVEL9K_DISABLE_RPROMPT: '"true"'
#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs)
#POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history)
LESS: '"$LESS -X"'
antigen_theme:
# name: robbyrussell # This role has no default theme (unlike the `gantsign.oh-my-zsh` role)
name: romkatv/powerlevel10k
antigen_bundles:
- name: git # This role has no default bundles/plugins (unlike the `gantsign.oh-my-zsh` role)
- name: mercurial
- name: tmux
- name: screen
- name: pip
- name: command-not-found
- name: zsh-users_zsh-syntax-highlighting # Syntax highlighting bundle.
url: zsh-users/zsh-syntax-highlighting
- name: zsh-users_zsh-autosuggestions # Fish-like auto suggestions
url: zsh-users/zsh-autosuggestions
- name: zsh-users_zsh-completions # Extra zsh completions
url: zsh-users/zsh-completions
# # Syntax highlighting bundle.
# - name: zsh-syntax-highlighting # `name` is required (any valid file name will do so long as it's unique for the bundles)
# url: zsh-users/zsh-syntax-highlighting
- hosts: all
tasks:
- name: Clone Powerline zsh theme
git:
repo: https://gitea.doct.org.ua/zaika/skel
dest: /home/zaika/skel
become: no
- hosts: all
tasks:
- name: Create symbolic link for tmux
file:
src: "/home/zaika/skel/.tmux.conf"
dest: "/home/zaika/.tmux.conf"
state: link
become: no
- hosts: all
tasks:
- name: Create symbolic link for screen
file:
src: "/home/zaika/skel/.screenrc"
dest: "/home/zaika/.screenrc"
state: link
become: no