Fix the "resolvecd" command

This commit is contained in:
2017-09-05 20:50:35 +02:00
parent aaeb207207
commit ed250a926d
2 changed files with 4 additions and 2 deletions

View File

@@ -64,5 +64,3 @@ alias cl="clear"
alias nocolor="sed -r \"s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g\"" alias nocolor="sed -r \"s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g\""
alias ip="ip -color" alias ip="ip -color"
alias resolvecd="cd $(readlink -f $PWD)"

View File

@@ -143,3 +143,7 @@ man() {
embiggen() { embiggen() {
enscript --no-header --media=A4 --landscape --font="DejaVuSansMono30" -o - | ps2pdf - | zathura - enscript --no-header --media=A4 --landscape --font="DejaVuSansMono30" -o - | ps2pdf - | zathura -
} }
resolvecd() {
cd "$(readlink -f $(pwd))"
}