Add a few CLI tools
This commit is contained in:
parent
5df2c14626
commit
424e2ee837
3 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
alias ll='ls -lihF'
|
alias ll='ls -lihF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ll -A'
|
alias l='ll -A'
|
||||||
|
hash eza 2>/dev/null && alias ls='eza'
|
||||||
|
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias grep='grep -n --color=auto'
|
alias grep='grep -n --color=auto'
|
||||||
|
@ -13,6 +14,7 @@ alias ipb='ip --color --brief'
|
||||||
alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion'
|
alias mount_ro='mount -o ro,noexec,noatime,nodev,nosuid,noiversion'
|
||||||
alias ryzom_season_change='date --date $(wget -q -O - "https://api.ryzom.com/time.php?format=xml" | sed "s/></>\n</g" | /bin/grep -e "day_of_season" -e "time_of_day" | sed "s/<day_of_season>/\(89-/" | sed "s/<time_of_day>/\(23-/g" | sed "s/<\/day_of_season>/\)\*72/" | sed "s/<\/time_of_day>/\)\*3/" | bc | tr "\n" "+" | sed "s/\+$/\n\"min\"\n/" | bc | tr -d "\n")'
|
alias ryzom_season_change='date --date $(wget -q -O - "https://api.ryzom.com/time.php?format=xml" | sed "s/></>\n</g" | /bin/grep -e "day_of_season" -e "time_of_day" | sed "s/<day_of_season>/\(89-/" | sed "s/<time_of_day>/\(23-/g" | sed "s/<\/day_of_season>/\)\*72/" | sed "s/<\/time_of_day>/\)\*3/" | bc | tr "\n" "+" | sed "s/\+$/\n\"min\"\n/" | bc | tr -d "\n")'
|
||||||
hash tree 2>/dev/null && alias t='tree'
|
hash tree 2>/dev/null && alias t='tree'
|
||||||
|
hash duf 2>/dev/null && alias du='duf'
|
||||||
hash htop 2>/dev/null && alias top='htop'
|
hash htop 2>/dev/null && alias top='htop'
|
||||||
hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"'
|
hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"'
|
||||||
hash xscreensaver-command 2>/dev/null && alias lock='xscreensaver-command --lock'
|
hash xscreensaver-command 2>/dev/null && alias lock='xscreensaver-command --lock'
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
|
pager = delta
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
|
|
|
@ -7,13 +7,13 @@ This is just a bunch of dotfiles.
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
# Base utils
|
# Base utils
|
||||||
pacman -S htop kitty-terminfo neovim openssh tmux transmission-cli tree wget whois zsh zsh-syntax-highlighting inetutils
|
pacman -S bat duf eza git-delta htop inetutils kitty-terminfo neovim openssh ripgrep tmux transmission-cli tree wget whois zsh zsh-syntax-highlighting
|
||||||
pacman -S shared-mime-info xdg-user-dirs
|
pacman -S shared-mime-info xdg-user-dirs
|
||||||
pacman -S skim
|
pacman -S skim
|
||||||
# Rust
|
# Rust
|
||||||
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
||||||
# CLI software
|
# CLI software
|
||||||
pacman -S bind exiv2 imagemagick mkcert ncdu nmap playerctl python-shodan rsync shellcheck sqlmap yt-dlp
|
pacman -S dog exiv2 imagemagick mkcert ncdu nmap playerctl python-shodan rsync shellcheck sqlmap yt-dlp
|
||||||
# WM
|
# WM
|
||||||
pacman -S i3status
|
pacman -S i3status
|
||||||
pacman -S i3lock scrot
|
pacman -S i3lock scrot
|
||||||
|
|
Loading…
Reference in a new issue