diff options
| author | typebrook <typebrook@gmail.com> | 2020-05-19 21:43:40 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-05-19 21:43:40 +0800 |
| commit | 1f36697104658d4454ce1bbcd5318d7fe13da25e (patch) | |
| tree | 0b24ae97f9d142ab99030aa6f4264f2eb01d58c0 | |
| parent | 9c4a98291198e4af4735c2cba9b607455ae238c4 (diff) | |
update
| -rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -32,6 +32,7 @@ alias g='gist' | |||
| 32 | alias gl='gist last' | 32 | alias gl='gist last' |
| 33 | 33 | ||
| 34 | # shell | 34 | # shell |
| 35 | alias s='sudo' | ||
| 35 | alias path="echo $PATH" | 36 | alias path="echo $PATH" |
| 36 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" | 37 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" |
| 37 | alias src="source $HOME/.$(basename $SHELL)rc" | 38 | alias src="source $HOME/.$(basename $SHELL)rc" |
| @@ -250,7 +251,7 @@ alias xc='xsel -ob | gcc -xc -' | |||
| 250 | 251 | ||
| 251 | # image | 252 | # image |
| 252 | image_vertical() { | 253 | image_vertical() { |
| 253 | convert "$@" -append output.png | 254 | convert "$@" -append output.png |
| 254 | } | 255 | } |
| 255 | image_horizontal() { | 256 | image_horizontal() { |
| 256 | convert "$@" +append output.png | 257 | convert "$@" +append output.png |