~xdavidwu/dotfiles

2fe8420411115b36b9b4524761b4efc894ff6e14 — xdavidwu 2 years ago e95f918
bash: tiocgwinsz: use stderr
1 files changed, 1 insertions(+), 1 deletions(-)

M .bashrc
M .bashrc => .bashrc +1 -1
@@ 66,7 66,7 @@ fi
alias artisan="php8 artisan"
alias artisan7="php7 artisan"
alias artisan81="php81 artisan"
alias tiocgwinsz="python3 -c \"import struct, fcntl, termios; print('%d %d %d %d' % struct.unpack('4H', fcntl.ioctl(0, termios.TIOCGWINSZ, '        ')))\""
alias tiocgwinsz="python3 -c \"import struct, fcntl, termios; print('%d %d %d %d' % struct.unpack('4H', fcntl.ioctl(2, termios.TIOCGWINSZ, '        ')))\""
alias dl="curl -OJLR --compressed"

# functions