Skip to content

Commit

Permalink
fix alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jr1221 committed Apr 17, 2024
1 parent 2fcf3f0 commit 983b7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/scripts/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ alias flash='/home/dev/scripts/flash.sh'
alias emulate='/home/dev/scripts/emulate.sh'
alias debug='/home/dev/scripts/gdb.sh'
alias ody-connect='source /home/dev/scripts/ody-connect.sh'
alias curr-serial='/home/dev/scripts/curr-serial.sh'

function curr-serial() {
udevadm info "$DEBUG_PORT" -a | sed -n -e 's/^.*ATTRS{serial}=="//p' | head -n 1 | sed 's/.$//'
}

export -f curr-serial

0 comments on commit 983b7de

Please sign in to comment.