Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
7b5e61e758
10 changed files with 29 additions and 23 deletions
10
console.sh
10
console.sh
|
@ -1,3 +1,9 @@
|
|||
#!/bin/sh
|
||||
. ./roles/home-cli/files/bash_profile
|
||||
./user-cli.yml -i ./local.ini
|
||||
. ./roles/home-cli/files/profile
|
||||
if [ $(uname -s) = FreeBSD ]
|
||||
then
|
||||
INVENTORY=./inventories/local-freebsd.ini
|
||||
else
|
||||
INVENTORY=./inventories/local-linux.ini
|
||||
fi
|
||||
./user-cli.yml -i $INVENTORY
|
||||
|
|
10
desktop.sh
10
desktop.sh
|
@ -1,3 +1,9 @@
|
|||
#!/bin/sh
|
||||
. ./roles/home-cli/files/bash_profile
|
||||
./user-gui.yml -i ./local.ini
|
||||
. ./roles/home-cli/files/profile
|
||||
if [ $(uname -s) = FreeBSD ]
|
||||
then
|
||||
INVENTORY=./inventories/local-freebsd.ini
|
||||
else
|
||||
INVENTORY=./inventories/local-linux.ini
|
||||
fi
|
||||
./user-gui.yml -i $INVENTORY
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[all]
|
||||
localhost
|
||||
|
||||
[all:vars]
|
||||
ansible_connection=local
|
||||
ansible_python_interpreter=/usr/local/bin/python3.9
|
||||
ansible_become_method=su
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
if [ -r "$HOME/.profile" ]
|
||||
then
|
||||
. "$HOME/.profile"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
if [ -r "$HOME/.shrc" ]
|
||||
then
|
||||
. "$HOME/.shrc"
|
||||
|
|
|
@ -81,15 +81,18 @@ then
|
|||
elif [ -n "$ZSH_VERSION" ]
|
||||
then
|
||||
autoload -Uz compinit && compinit
|
||||
autoload -Uz history-search-end
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||
zle -N history-beginning-search-backward-end history-search-end
|
||||
zle -N history-beginning-search-forward-end history-search-end
|
||||
bindkey -e
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[3~" delete-char
|
||||
bindkey "^[[A" history-beginning-search-backward
|
||||
bindkey "^[[B" history-beginning-search-forward
|
||||
bindkey "^[OA" history-beginning-search-backward
|
||||
bindkey "^[OB" history-beginning-search-forward
|
||||
bindkey "^[[A" history-beginning-search-backward-end
|
||||
bindkey "^[[B" history-beginning-search-forward-end
|
||||
bindkey "^[OA" history-beginning-search-backward-end
|
||||
bindkey "^[OB" history-beginning-search-forward-end
|
||||
|
||||
PS1="%B%n@%m%#%b "
|
||||
|
||||
|
@ -200,6 +203,7 @@ alias zlu="zypper list-updates"
|
|||
|
||||
# Language aliases.
|
||||
## Fedora/RHEL/CentOS: dnf install glibc-langpack-{en,fr}
|
||||
alias C="LANG=C.UTF-8"
|
||||
alias en="LANG=en_GB.UTF-8"
|
||||
alias fr="LANG=fr_FR.UTF-8"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
if [ -r "$HOME/.profile" ]
|
||||
then
|
||||
emulate sh -c '. "$HOME/.profile"'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/zsh
|
||||
#!/usr/bin/env zsh
|
||||
if [ -r "$HOME/.shrc" ]
|
||||
then
|
||||
emulate sh -c '. "$HOME/.shrc"'
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
ansible.builtin.copy:
|
||||
src: gemrc
|
||||
dest: "{{ ansible_env.HOME }}/.gemrc"
|
||||
- name: Remove $HOME/.hushlogin
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.hushlogin"
|
||||
state: absent
|
||||
- name: Create $HOME/.tmux.conf
|
||||
ansible.builtin.copy:
|
||||
src: tmux.conf
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Iosevka Term Extended</family>
|
||||
<family>Iosevka Term</family>
|
||||
<family>Noto Sans Mono</family>
|
||||
<family>DejaVu Sans Mono</family>
|
||||
|
|
Loading…
Reference in a new issue