{bash,zsh}rc: improve transmission-magnet ()
* grep is no longer an alias removing the excess colour * awk removes the `Magnet: ` part from the beginning
This commit is contained in:
parent
99299798cc
commit
814e39727b
|
@ -717,7 +717,7 @@ transmission-torrents () {
|
|||
transmission-remote -l
|
||||
}
|
||||
transmission-magnet () {
|
||||
transmission-remote -l -t $1 -i | grep magnet
|
||||
transmission-remote -l -t $1 -i | \grep magnet | awk -F': ' '{print $2}'
|
||||
}
|
||||
|
||||
# Merges the last $1 commits into one
|
||||
|
|
Loading…
Reference in New Issue