This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play: async (trackId?: Track['id']) => { | |
let tracks | |
if (!trackId) { | |
// pull players from audioState to play all | |
;[tracks] = getAudioState() | |
tracks = Object.keys(tracks) as Track['id'][] | |
} else tracks = [trackId] | |
for (const trackId of tracks) { | |
if (trackId) setAudioState[trackId as number].playing(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module posh-git | |
Set-PSReadlineKeyHandler -Key Tab -Function Complete | |
Set-PSReadLineKeyHandler -Chord "Tab" -Function AcceptSuggestion | |
Set-PSReadLineKeyHandler -Chord "RightArrow" -Function ForwardWord |
OlderNewer