     let truncatedPathComps = pathComps[self.cwdPathCompsCount..<pathComps.count]
     let name = truncatedPathComps.last!
 
-    if truncatedPathComps.dropLast().isEmpty {
-      return NSMutableAttributedString(string: name)
-    }
+    if truncatedPathComps.dropLast().isEmpty { return NSMutableAttributedString(string: name) }
 
     let rowText: NSMutableAttributedString
     let pathInfo = truncatedPathComps.dropLast().reversed().joined(separator: " / ")

// MARK: - NSTextFieldDelegate
extension OpenQuicklyWindow {

  @objc(control:textView:doCommandBySelector:)
  func control(
    _ control: NSControl,
    textView: NSTextView,
    doCommandBy commandSelector: Selector
  ) -> Bool {
    switch commandSelector {
    case NSSelectorFromString("cancelOperation:"):
      self.window.performClose(self)
      return true

    self.searchField.stringValue = ""
  }

  func windowDidResignKey(_: Notification) { self.window.performClose(self) }
}
