Add a few CLI tools

This commit is contained in:
Rodolphe Bréard 2023-09-29 17:23:10 +02:00
parent 5df2c14626
commit 424e2ee837
3 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,7 @@
alias ll='ls -lihF'
alias la='ls -A'
alias l='ll -A'
hash eza 2>/dev/null && alias ls='eza'
alias sudo='sudo '
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 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 duf 2>/dev/null && alias du='duf'
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 xscreensaver-command 2>/dev/null && alias lock='xscreensaver-command --lock'

View file

@ -5,6 +5,7 @@
[core]
editor = vim
pager = delta
[push]
default = simple

View file

@ -7,13 +7,13 @@ This is just a bunch of dotfiles.
``` sh
# 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 skim
# Rust
pacman -S cargo-audit cargo-outdated cargo-release rustup
# 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
pacman -S i3status
pacman -S i3lock scrot