Skip to content

Commit b98cd23

Browse files
committed
edited zshrc and fixed thunar as root open terminal:- use system theme
1 parent 2e119f6 commit b98cd23

File tree

4 files changed

+1
-99
lines changed

4 files changed

+1
-99
lines changed

airootfs/etc/skel/.zshrc

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.
1212
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
1313

1414

15-
1615
#Display ISO version and distribution information in short
1716
alias version="sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release"
1817

@@ -28,7 +27,6 @@ alias clr-cache="sudo pacman -Scc"
2827
alias unlock="sudo rm /var/lib/pacman/db.lck"
2928
alias remove="sudo pacman -R"
3029
alias autoremove="sudo pacman -Rns"
31-
alias neofetch="neofetch --ascii_distro TcetLinux1"
3230

3331
# Fix keyring and gnupg mount isuue
3432
alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate"
@@ -38,10 +36,6 @@ alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && su
3836
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
3937

4038

41-
42-
43-
44-
4539
## Path section
4640
# Set $PATH if ~/.local/bin exist
4741
if [ -d "$HOME/.local/bin" ]; then
@@ -54,7 +48,6 @@ function set_win_title(){
5448
}
5549
precmd_functions+=(set_win_title)
5650

57-
5851
## Plugins section: Enable fish style features
5952
# Use syntax highlighting
6053
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
@@ -238,47 +231,6 @@ if [[ -n "${key[Alt-Right]}" ]]; then
238231
bindkey -M vicmd "${key[Alt-Right]}" forward-word
239232
fi
240233

241-
## Useful aliases
242-
alias grubup="sudo update-grub"
243-
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
244-
alias tarnow='tar -acf '
245-
alias untar='tar -zxvf '
246-
alias wget='wget -c '
247-
alias rmpkg="sudo pacman -Rdd"
248-
alias psmem='ps auxf | sort -nr -k 4'
249-
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
250-
alias ..='cd ..'
251-
alias ...='cd ../..'
252-
alias ....='cd ../../..'
253-
alias .....='cd ../../../..'
254-
alias ......='cd ../../../../..'
255-
alias dir='dir --color=auto'
256-
alias vdir='vdir --color=auto'
257-
alias grep='grep --color=auto'
258-
alias fgrep='grep -F --color=auto'
259-
alias egrep='grep -E --color=auto'
260-
alias hw='hwinfo --short' # Hardware Info
261-
alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB (expac must be installed)
262-
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
263-
264-
# Get fastest mirrors
265-
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
266-
alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
267-
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
268-
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
269-
270-
# Help people new to Arch
271-
alias apt-get='man pacman'
272-
alias apt='man pacman'
273-
alias helpme='cht.sh --shell'
274-
alias pacdiff='sudo -H DIFFPROG=meld pacdiff'
275-
alias please='sudo'
276-
alias tb='nc termbin.com 9999'
277-
alias upd="/usr/bin/update"
278-
279-
# Replace yay with paru if installed
280-
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
281-
282234
# Load Mcfly
283235
export MCFLY_FUZZY=true
284236
export MCFLY_RESULTS=20

airootfs/root/.config/xfce4/terminal/accels.scm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
; xfce4-terminal GtkAccelMap rc-file -*- scheme -*-
22
; this file is an automated accelerator map dump
33
;
4-
(gtk_accel_path "<Actions>/terminal-window/use-system-font" "<Primary><Shift>s")
5-
(gtk_accel_path "/TerminalWindowPreferencesDialog/use-system-font" "")
64
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2")
75
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6")
86
; (gtk_accel_path "<Actions>/terminal-window/copy-input" "")

airootfs/root/.config/xfce4/terminal/terminalrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ MiscSearchDialogOpacity=100
2828
MiscShowUnsafePasteDialog=TRUE
2929
ScrollingOnKeystroke=FALSE
3030
FontName=Source Code Pro 10
31-
31+
ColorUseTheme=TRUE
3232

airootfs/root/.zshrc

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.
1212
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
1313

1414

15-
1615
#Display ISO version and distribution information in short
1716
alias version="sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release"
1817

@@ -28,7 +27,6 @@ alias clr-cache="sudo pacman -Scc"
2827
alias unlock="sudo rm /var/lib/pacman/db.lck"
2928
alias remove="sudo pacman -R"
3029
alias autoremove="sudo pacman -Rns"
31-
alias neofetch="neofetch --ascii_distro TcetLinux1"
3230

3331
# Fix keyring and gnupg mount isuue
3432
alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate"
@@ -38,10 +36,6 @@ alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && su
3836
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
3937

4038

41-
42-
43-
44-
4539
## Path section
4640
# Set $PATH if ~/.local/bin exist
4741
if [ -d "$HOME/.local/bin" ]; then
@@ -54,7 +48,6 @@ function set_win_title(){
5448
}
5549
precmd_functions+=(set_win_title)
5650

57-
5851
## Plugins section: Enable fish style features
5952
# Use syntax highlighting
6053
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
@@ -238,47 +231,6 @@ if [[ -n "${key[Alt-Right]}" ]]; then
238231
bindkey -M vicmd "${key[Alt-Right]}" forward-word
239232
fi
240233

241-
## Useful aliases
242-
alias grubup="sudo update-grub"
243-
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
244-
alias tarnow='tar -acf '
245-
alias untar='tar -zxvf '
246-
alias wget='wget -c '
247-
alias rmpkg="sudo pacman -Rdd"
248-
alias psmem='ps auxf | sort -nr -k 4'
249-
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
250-
alias ..='cd ..'
251-
alias ...='cd ../..'
252-
alias ....='cd ../../..'
253-
alias .....='cd ../../../..'
254-
alias ......='cd ../../../../..'
255-
alias dir='dir --color=auto'
256-
alias vdir='vdir --color=auto'
257-
alias grep='grep --color=auto'
258-
alias fgrep='grep -F --color=auto'
259-
alias egrep='grep -E --color=auto'
260-
alias hw='hwinfo --short' # Hardware Info
261-
alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB (expac must be installed)
262-
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
263-
264-
# Get fastest mirrors
265-
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
266-
alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
267-
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
268-
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
269-
270-
# Help people new to Arch
271-
alias apt-get='man pacman'
272-
alias apt='man pacman'
273-
alias helpme='cht.sh --shell'
274-
alias pacdiff='sudo -H DIFFPROG=meld pacdiff'
275-
alias please='sudo'
276-
alias tb='nc termbin.com 9999'
277-
alias upd="/usr/bin/update"
278-
279-
# Replace yay with paru if installed
280-
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
281-
282234
# Load Mcfly
283235
export MCFLY_FUZZY=true
284236
export MCFLY_RESULTS=20

0 commit comments

Comments
 (0)